Forum Moderators: phranque
I have understood what regular expressions are and how to create a rule.
Now I assume that I have to change the links in the script as well....(not sure though).
The links are dynamically generated. Each link opens up to a page where there are more links and those are also dynamically generated. And this goes on. Now this has become very confusing. How do I go about this?
Moreover, on each page, all the links are not related to a single php file. I mean the code to dispay the links at the different parts of a page does not belong to a single file......those are from separate files.....these files are 'included'. So do I need to change the links in each of these files?
So yes, the links need to show the URL that you want the content to be known by.
The rules in ModRewrite simply take the URL request and translate it into where to get the content from within the server - without revealing what that location actually is.