#1
|
|||
|
|||
URL name with underscore. How do I rename?
I'm new to SEO. I'm working on a site with url names contain underscore. I know it is not a good practice. How can I resolve the issue. There are many page urls contain underscore. How can I change the url into a SEO friendly one?
Newspaper Ad Booking Agency in Delhi | Public Notice Ad in Newspaper Last edited by Randy; 09-02-2019 at 03:37 AM. |
#2
|
|||
|
|||
Try this and see if this and see if it works for you..
RewriteRule ^([^_]*)_+(.*)$ $1-$2 [E=underscores:Yes,N] RewriteCond %{ENV:underscores} ^Yes$ RewriteRule ^article(.+)$ /article$1 [R=301,L] Personalized Corporate Gifts | Buy Corporate Gift Items Online Last edited by krishna mehra; 09-02-2019 at 03:37 AM. |
Thread Tools | |
Display Modes | |
|
|