var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
How to redirect different url structures with .htaccess
I am changing my wordpress to a different script
I converted all data and images to new script but now l need to redirect urls from old wordpress system to new script system not to loose my old traffic...
My old url structure in wordpress was
Just like http://www.domain.com/2014/01/21/title.html
But my new Script 's url structure is like this :
Soo my problem is how can l convert this to new system via .htaccess???
There are usually plug-ins to do this sort of thing.
I know of an SEO plug in that works great, and asks you how you want URL's displayed.
I suspect it edits the .htaccess
<<Signature to be setup in your profile>>
Last edited by anon-e-mouse; 01-21-2014 at 06:13 PM.
If you want to redirect specific and concrete urls, take a look at redirect 301 directive:
If you want to match the entire structure and rewrite it with all urls at once, take a look at redirectmatch and rewriterule:
The first option is a simple solution, the second one is more complex, considering you should have some regexp knowledge.
By Irose in forum Web Design and Content
Last Post: 12-31-2013, 03:18 PM
By beridiculous in forum Programming Discussion
Last Post: 11-10-2009, 09:57 AM
By mickscool in forum Hosting Security and Technology
Last Post: 06-06-2009, 07:47 PM
By daniellosada in forum SEO / SEM Discussions
Last Post: 04-10-2009, 02:09 PM
By Badie in forum Programming Discussion
Last Post: 01-17-2008, 02:01 AM
Tags for this Thread