|
|
#11 |
|
Coder
Join Date: Mar 2006
Posts: 4,548
Rep Power: 110 ![]() ![]() |
crate a php file in the do root of your site with the rest of your script files with what ever name you would like and inside it put the following....
PHP Code:
The simply create a link on your site to the php file you created and your good to go. |
|
|
|
|
|
#12 |
|
All Hands On Deck
Join Date: Mar 2008
Posts: 1,180
Rep Power: 30 ![]() |
Not sure why you want to do this - there is no real advantage in terms of SEO and people very rarely remember specific urls for inner pages. What is far more important is content and structure. The use of title tags, page titles and meta descriptions on links etc.
That being said, the first line makes an html url for all those php pages, the second line is specific to a particular page (number 16) RewriteRule ^page/([0-9]+)\.html$ pages.php?page=$1 [NC] RewriteRule ^xyz\.html$ page/16.html [NC] |
|
|
|
|
|
#13 | |
|
Member
Join Date: Dec 2008
Posts: 34
Rep Power: 3 ![]() |
Thank you for your help, I am sorry for asking so many questions, but I am still not really clear on the code. So what does (xyz) stand for?
RewriteRule ^xyz\.html$ page/16.html [NC][/quote] Are you just giving me an example of a folder? Do I need to modify anything else in this second line other than the page number? Quote:
|
|
|
|
|
|
|
#14 |
|
All Hands On Deck
Join Date: Mar 2008
Posts: 1,180
Rep Power: 30 ![]() |
xyz is just an example. A name.
please put the version you are using in your signature. |
|
|
|
|
|
#15 |
|
Member
Join Date: Dec 2008
Posts: 34
Rep Power: 3 ![]() |
|
|
|
|
|
|
#16 |
|
All Hands On Deck
Join Date: Mar 2008
Posts: 1,180
Rep Power: 30 ![]() |
put it in your signature so we can always see it.
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| MODIFICATION: Changing the photo layout on the viewlisting.tpl page. | cwp | Modules / Plugins / Modifications | 9 | 06-15-2009 11:47 PM |
| Page Editor new Pages, location ? | jj30 | v4 Questions & Support | 6 | 07-05-2008 11:18 AM |
| Changing the name of a field and changing page backgound | Sandy68Classi | v3.1 Modules & Modifications | 7 | 10-16-2007 01:31 AM |
| Easy and free SEO trick, Give Pages Actual Names! | RyanG | v3.1 Modules & Modifications | 0 | 01-16-2007 05:00 PM |
| Changing look of categories on home page | Baz | HTML, CSS, and Design Help | 2 | 11-09-2006 01:29 PM |