Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Website and Server Administration Forum


You are currently viewing our Website and Server Administration Forum as a guest. Please register to participate.
Login



Reply
(Easy) What is htaccess for Rewrite dynamics urls oldname-id.html to newname-id.html
Old 09-17-2010, 11:53 AM (Easy) What is htaccess for Rewrite dynamics urls oldname-id.html to newname-id.html
Skilled Talker

Posts: 78
Name: syu
Trades: 0
I want to redirect Rewrite dynamics oldname-id.html to newname-id.html , because the file name is changed


The file name is changed
the id is dynamic numbers



for example

old urls
Code:
http://www.domain.com/country-origin-Irish-page-1.html
http://www.domain.com/country-origin-Irish-page-2.html
http://www.domain.com/country-origin-Irish-page-3.html
http://www.domain.com/country-origin-Irish-page-4.html
and so on

to new urls
Code:
http://www.domain/country-origin-Irlandia,_Ireland,_Irish-page-1.html
http://www.domain/country-origin-Irlandia,_Ireland,_Irish-page-2.html
http://www.domain/country-origin-Irlandia,_Ireland,_Irish-page-3.html
http://www.domain/country-origin-Irlandia,_Ireland,_Irish-page-4.html
and so on




Please help guys what is the right htaccess for this
__________________
Lets help each other
basketmen is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 09-17-2010, 02:39 PM Re: (Easy) What is htaccess for Rewrite dynamics urls oldname-id.html to newname-id.h
Ultra Talker

Posts: 366
Name: Steve
Location: Miami, FL, Earth
Trades: 0
RewriteRule country-origin-Irish-page-([0-9]+).html /country-origin-Irlandia,_Ireland,_Irish-page-$1.html [R=301]
__________________
- Steve

President,
Please login or register to view this content. Registration is FREE
smoseley is offline
Reply With Quote
View Public Profile Visit smoseley's homepage!
 
Reply     « Reply to (Easy) What is htaccess for Rewrite dynamics urls oldname-id.html to newname-id.html
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.10371 seconds with 12 queries