Heres my basic setup, Ive got my main index showing one category, and on other sections of my site I am showing a single post by id on those indexes.
the problem comes in when I comment on a section of the site that has the post by id, after you click “say it” you are taken to the main index where that post is displayed with the comment, rather than staying on the index in the directory I put it.
simple example, my “feature” section of my site displays one post by id, now this section has a 2 column layout. so you comment on the entry, hit “say it” and you are taken to my main site page index which is set up to display one category and has a 3 col layout, and where now no posts from that category appear only the one that you just commented on from the 2 col layout. I dont want it to go to the main index to display.
everything works great until you hit “send it”
is there a way to write the comment script so that it stays where its at and doesnt go to the main index to display the post and comment?
maybe a redirect to the url of the index it originated from?
I cant use pages for this as I need all the functionality and the entries have to be included in the rss…..
thanks in advance…
- The topic ‘comment redirect script?’ is closed to new replies.