Hello everyone, I'm new on Genesis
I'm converting a static html site into WP, and I need to keep the old url's intact according to seo-reasons.
I'm using Custom Post Types for a listing directory, all is good.
I just need to remove the base slug of the "products" CPT, so I can make url's look like this: mydomain.com/cars instead of mydomain.com/products/cars . I cannot use redirection because of seo-reasons.
Additionally I need to keep the .html ending on all items as well.
Anybody who can point me in the right direction?
Tried using a permalink plugin to make permalinks for my CPT as this "/%postname%.htm./ and that breaks the removal of the slug, but adds the .html
I would like to do this in functions
I am also migrating a site with HTML pages and a WordPress blog (using HTML appended to all permalinks ) to an all-Wordpress site. The blog posts are all in a subfolder called Blog so each permalink is http://sitename.com/blog/postname.html.
I really do not want to continue that HTML permalink naming convention but also don't want client to have links to existing posts become broken and produce errors. I was hoping to export all of her posts using WordPress Export tool to an XML file (with comments), install WordPress at the root level of her site, erasing all the existing HTML static pages, then import all the posts back in with the category of "blog" and same post name but without HTML.
wouldn't it be possible to add some lines to htaccess and redirect all http://sitename.com/blog/*.html to http://sitename.com/blog/*? Can you even do redirection if the original file is no longer there?
You must be logged in to reply to this topic.
Subscribe to get early access to new themes, discounts and brief updates about what's new with StudioPress!