Forum Moderators: coopster
Couple mins ago i was trying something and i saw that html files read as same php. widget.html is same widget.php and even more interesting if you want to reach the content from widget.html it goes to widget.html?subaction=etc.etc. it used to widget.php?subaction-etc.etc.
Is this normal? was I sleeping when this thing came out ages ago? Last time about coupke months ago there wasn;t such thing and now I am really surprised, I would appreciate if anyone can comment on this.
Thanks..
Use htaccess rules to redirect pages and use robots.txt to disallow spiders and bots for the original files...
or just using htaccess alone with [301, L] redirections without the need or robots.txt....
If u dont understand I can clarify it for u....i can present u some details...
So if i leave it like that will it be better for Search engines?
All of my php pages use mod rewrite in htaccess. I don't do it for search engines or SEO, but because most users are familiar with html pages.. so that's what they get. One small caveat, with some scripts that post to self the php extension may appear in the URI. To overcome that I hard code the post action to the html filename instead of using action="<?php echo $_SERVER['PHP_SELF'];?>"