Folks, need your help with a problem I am getting when typing in URLs for my website. For example, when I give someone a URL to one of the pages within my site example: http://www.spireviews.com/article/radisson/South-Padre-Island-hotels/ They click it and then the URL switches by itself to: http://www.spireviews.com/view-article-details.php And then that page's content dissapears with nothing left except the shell. What the heck is going on?? I suspect it's something in my htaccess file. Shall I post that here? Thanks for any help!
Thanks dave! here it is: php_value session.use_only_cookies 1 php_value session.use_trans_sid 0 # -FrontPage- RewriteEngine On IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti* <Limit GET POST> order deny,allow deny from all allow from all </Limit> <Limit PUT DELETE> order deny,allow deny from all </Limit> AuthName www.spireviews.com AuthUserFile /home/virtual/site17/fst/var/www/html/_vti_pvt/service.pwd AuthGroupFile /home/virtual/site17/fst/var/www/html/_vti_pvt/service.grp RewriteRule ^category/(.*)/$ /articles.php?catname=$1 RewriteRule ^allcategory/(.*)/$ /articles1.php?catname=$1 RewriteRule ^article/(.*)/(.*)/$ /view-article-details.php?articlename=$1&catname=$2 [L] RewriteRule ^articles/(.*)/(.*)/$ /view-article-details.php?articleNamenew=$1&catnamenew=$2 [L] RewriteRule ^article/(.*)/$ /view-article-details.php?articlename=$1 [L] RewriteRule ^read/(.*)$ /read.php?articlename=$1 [L] RewriteRule ^featured/$ /featured-stories-details.php [L] RewriteRule ^featured/(.*)$ /featured-stories.php?featuredId=$1 [L] RewriteRule ^signinchk/(.*)/$ /sign-in.php?err=$1 [L] RewriteRule ^signinreview/(.*)/(.*)/(.*)/$ /sign-in.php?act=rew&articlename=$1&catname=$2&err=$3 [L] RewriteRule ^signinreview/(.*)/(.*)/$ /sign-in.php?act=rew&articlename=$1&catname=$2 [L] RewriteRule ^signin/(.*)/$ /sign-in.php?act=art&articlename=$1 [L] RewriteRule ^signinart/(.*)/(.*)/$ /sign-in.php?act=art&articlename=$1&err=$2 [L] RewriteRule ^signin/(.*)/(.*)/(.*)/$ /sign-in.php?act=art&articlename=$1&catname=$2&err=$3 [L] RewriteRule ^signin/$ /sign-in.php [L] RewriteRule ^review/(.*)/(.*)/$ /add-reviews.php?act=add&articlename=$1&catname=$2 [L] RewriteRule ^reviews/$ /add-reviews.php [L] RewriteRule ^reviews/(.*)/$ /add-reviews.php?id=$1 [L] RewriteRule ^addreviews/(.*)/(.*)/$ /add-reviews.php?&articlename=$1&catname=$2 [L] RewriteRule ^viewreview/(.*)/(.*)/$ /review.php?articlename=$1&catname=$2 RewriteRule ^favorite/(.*)/$ /view-favorites-listing.php?act=add&articlename=$1&err=$2 [L] RewriteRule ^favorite/$ /view-favorites-listing.php [L] RewriteRule ^favmsg/(.*)/$ /view-favorites-listing.php?err=$1 [L] RewriteRule ^events/$ /view-events-listing.php [L] RewriteRule ^events/(.*)$ /view-event-detail.php?eventId=$1 [L] RewriteRule ^favremove/$ /view-favorites-listing.php?act=chkall [L] RewriteRule ^favremoveno/$ /view-favorites-listing.php?act=chkallno [L] RewriteRule ^viewallreview/(.*)/(.*)/$ /view-all-reviews.php?articlename=$1&catname=$2 RewriteRule ^search/$ /search-results.php [L] RewriteRule ^thanks/$ /thanks-register.php [L] RewriteRule ^thanks/(.*)/(.*)/$ /thanks-register.php?err=$1&articlename=$2&act=add [L] RewriteRule ^changepass/$ /change-password.php [L] RewriteRule ^logout/$ /logout.php [L] RewriteRule ^advertise/$ /advertise.php [L] RewriteRule ^catlisting/$ /view-category-listing.php [L] RewriteRule ^signin/(.*)/$ /sign-in.php?err=$1 [L] RewriteRule ^photos/(.*)/$ /view-photos.php?articleId=$1 [L] RewriteRule ^thanks-comment/$ /thanks-comment.php [L] RewriteRule ^thanks-subscribe/$ /thanks-subscribed.php [L] RewriteRule ^thanks-subscribe/(.*)/$ /thanks-subscribed.php?err=$1 [L] RewriteRule ^banner-click/(.*)/$ /banner-click.php?bannerId=$1 [L] RewriteRule ^preview-image/(.*)/$ /preview-image.php?act=main&articleId=$1 RewriteRule ^unsubscribe/(.*)/$ /unsubscribe.php?subscribeId=$1 [L] RewriteRule ^unsubscribemem/(.*)/$ /unsubscribe.php?memberId=$1 [L] RewriteRule ^logout/$ /logout.php [L]
Hmm, it stopped working and now I just tested and it works again! I suggest asking the same question in the apache forum as I am not an expert on htaccess and can't see anything wrong with it.