All LINKS changed on website after Modrewrite - WHY ??

Discuss practical ways rearrange URLs using mod_rewrite.

All LINKS changed on website after Modrewrite - WHY ??

Postby Jamos » Thu Jun 05, 2008 10:11 am

Hi guys..
I run an Apache Server locally on my XP-System..
The following rule is set in the .htaccess

RewriteEngine On
RewriteRule ^page/Produkt1 page.php?name=Produkt1


The RewriteRule works great...
no problem here..

HOWEVER:
Once I open the page "localhost/page/Produkt1" all the links on the displayed site now have the word "page" added to the URL..
For example
- localhost/page/index.php instead of just localhost/index.php
- localhost/page/home.php instead of just localhost/index.php

Why is the word "/page" added to every Link on the site with modrewrite?



THANK YOU
Help is really aprreciated..
Jamos
Jamos
 
Posts: 2
Joined: Thu Jun 05, 2008 9:59 am

Postby richardk » Thu Jun 05, 2008 3:57 pm

richardk
 
Posts: 8800
Joined: Wed Dec 21, 2005 7:50 am

Postby Jamos » Thu Jun 05, 2008 5:23 pm



AHHHH
THANK YOU !!!!
that made my day!!
Jamos
 
Posts: 2
Joined: Thu Jun 05, 2008 9:59 am


Return to Friendly URLs with Mod_Rewrite

Who is online

Users browsing this forum: No registered users and 112 guests

cron