View previous topic :: View next topic |
Author |
Message |
svankamon -
Joined: 01 Apr 2007 Posts: 148 Location: Chesterfield UK
|
Posted: Wed Jun 11, 2008 5:03 pm Post subject: apache Mod_Rewrite |
|
|
Hi, i have a script which uses apache mod_rewrite (for SEO friendly URLS.). Will this effect the links in the urls. The site as a section where i can add pages myself. I add on and the url is:
http://www.mydomain.com/page-7-a-new-test-page.php
but the page given and which works from admin section is:
http://www.mydomain.com/site_page.php?page=7
A New Test Page is the title of the page, there are others too.?
also the to detailspage doesnt work. This is of course an advertising type script where you link to ad details page.
Many thanks.
Oh im posting in here because the support seems pretty crap for the script. They dont realize i need a second script.?? lol. Many thanks for any help in this. cheers. |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
svankamon -
Joined: 01 Apr 2007 Posts: 148 Location: Chesterfield UK
|
Posted: Wed Jun 11, 2008 5:05 pm Post subject: ADDITION |
|
|
Sorry im using abyss x2 server. php5, mysql 5,perl 5x, etc.. |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
svankamon -
Joined: 01 Apr 2007 Posts: 148 Location: Chesterfield UK
|
Posted: Wed Jun 11, 2008 7:39 pm Post subject: |
|
|
My htaccess file reads the following redirects. Can someone tell me whta this means. Ive added them to abyss url rewrite as rules
like this in abyss url rewrite:
^page-([0-9]+)-(.*)$
Redirect to:
site_page.php?page=$1
RewriteEngine on
RewriteRule ^page-([0-9]+)-(.*)$ site_page.php?page=$1
RewriteRule ^browse-([0-9]+)-([0-9]+)-([0-9]+)-(.*)$ site_browse.php?cat=$1&page=$2&item=$3
RewriteRule ^detail-([0-9]+)-(.*)$ site_detail.php?listing=$1
RewriteRule ^contact-([0-9]+)-(.*)$ site_detail_contact.php?listing=$1
RewriteRule ^tellfriend-([0-9]+)-(.*)$ site_detail_tellfriend.php?listing=$1
RewriteRule ^favourite-([0-9]+)-(.*)$ site_detail_favourite.php?listing=$1
RewriteRule ^comment-([0-9]+)-(.*)$ site_detail_comment.php?listing=$1
In all cases i have left all default settings.
Any help would be apreciated. Many thanks. |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
|