Using the ? in url's
Using the ? in url's
I stumbled over something awkward.
When I write an url like http://www.bla.com/index.php?bla
Alls goes well
When I just write index.php?bla
It translates to http://www.bla.com/bla.shtml
Why is this? The relative url would be much easier to use, so I hope this is possible,
When I write an url like http://www.bla.com/index.php?bla
Alls goes well
When I just write index.php?bla
It translates to http://www.bla.com/bla.shtml
Why is this? The relative url would be much easier to use, so I hope this is possible,
then it's ok!
cos this was made that google would have no problems to index your site!
if you don't wann have it rename the .htaccess to _.htaccess and in the conf.inc.php edit the following line.
fromto
cos this was made that google would have no problems to index your site!
if you don't wann have it rename the .htaccess to _.htaccess and in the conf.inc.php edit the following line.
from
Code: Select all
$phpwcms["rewrite_url"] = 1; //whether URL should be rewritable
Code: Select all
$phpwcms["rewrite_url"] = 0; //whether URL should be rewritable
- Oliver Georgi
- Site Admin
- Posts: 9920
- Joined: Fri 3. Oct 2003, 22:22
- Contact:
- Oliver Georgi
- Site Admin
- Posts: 9920
- Joined: Fri 3. Oct 2003, 22:22
- Contact:
well for search engines... search in this forum and you will find tons of posts...!!
http://www.studmed.dk Portal for doctors and medical students in Denmark
well it make fakes "links" that is more easy to reminder, and that search engines like - so you site will be indexed on google etc.. that´s the pointPieter wrote:Sorry, I don't understand what you meanOliver Georgi wrote:phpwcms: index.php?test -> test.shtml or index.php?id=0,0,0,0,0,0 -> 0.0.0.0.0.0.shtml
Apache test.shtml -> index.php?test and 0.0.0.0.0.0.shtml -> index.php?id
Read some of the post in the forum - for more details...
http://www.studmed.dk Portal for doctors and medical students in Denmark
But why is that nice, if the links refer to non-existing pages. No one can use the site anymore ?!frold wrote:well it make fakes "links" that is more easy to reminder, and that search engines like - so you site will be indexed on google etc.. that´s the point
Read some of the post in the forum - for more details...
The links DO refer to existing pages. The system presents a more user-friendly or search engine-friendly URL on the frontend, but the phpWCMS translates the nicer-looking URL internally so you get the correct content.
When teh seach engines index your site they equate the content with the re-written URL. phpWCMS knows what the browser is looking for and provides the correct contenet page without the requester knowing any different.
You can use a file extension other than .shtml if you wish, as has been mentioned elsewhere in the forum.
When teh seach engines index your site they equate the content with the re-written URL. phpWCMS knows what the browser is looking for and provides the correct contenet page without the requester knowing any different.
You can use a file extension other than .shtml if you wish, as has been mentioned elsewhere in the forum.