Using Wordpress permalinks with no posts attached - wordpress

I am moving an old Drupal 4 installation to Wordpress 3, and rather than trying to go through the pain of moving the thousands of posts over, my plan is to leave the old site running on a subdomain (old.site.com).
I'm able to set up the wordpress permalinks to look like the URLs the Drupal site's pathauto module was generating, but now I need to create permalinks for all those old posts that don't exist on the new site. For example:
http://site.com/author-name/title-of-post exists on the old Drupal site.
I want to create a permalink in Wordpress with the same URL, then have it forward to http://old.site.com/author-name/title-of-post
This way any existing Google indices that point to the existing post will still work, and (hopefully) we don't lose any Google prominence
What is the best way to do this? Thanks in advance.
Bonus Question: Does anyone actually know how this would affect SEO?

I would add the following plugin:
http://wordpress.org/extend/plugins/redirection/
And then create blank pages or posts in WordPress to get the link structure you want. The plugin adds an option to the post edit screen to set a 301 redirect to your other URL. That should provide the mechanics of what you want to do.
As for SEO, it's suboptimal for the new site since spiders, visitors, and bookmarks will all end up on the old site. I would use the above as a temporary solution and slowly copy/paste the content over or figure out a clever database import to move it over. In the long run, that will be better for you.

Related

Removing /product-category/ and /shop/ from URL in WooCommerce

I'm building an ecommerce store with WooCommerce, and I would like to change how my URLs are created. At the moment the structure is
domain.com/product-category/category-name
domain.com/shop/category-name/product-name
For SEO purposes would like to change it to
domain.com/category-name
domain.com/category-name/product-name
but when I delete the product category base in Wordpress permalink settings, it just reappears. Then I found this page stating that I shouldn't change it at all. Is that true? Am I wrong in wanting to alter the URLs?
If it's fine to change them, how can I do it?
I think this is helps you.
Removing those URL is definitely one of the major improvements in search engine optimization for any online store because then search engines will not take into account the unnecessary words in the link. So, the search for your products will become more precise. I also encountered this problem and tested most of the plugins that were available on the WordPress website. Now I definitely can recommend Permalink Manager by Premmerce because it's free, very user friendly and simple plugin.
You can download it in WordPress site here: https://wordpress.org/plugins/woo-permalink-manager/
Thanks.

Wordpress redirect old permalink structure to new

Could you help me with the following predicament? I'd like to change the permalink structure of my website from the current one
/%category%/%postname%/
to
/%category%/%post_id%/
in a way so that the old publications could still be reachable through the old links?
Thank you in advance!
First, you need to 100% sure you want to make this change to your site because it will probably have an impact on your SEO, positive or negative.
Once you change your permalinks have been changed your WordPress installation will update all the links itself, however, links in the menu or any hardcoded links you will need to change yourself.
But to answer your question, you are best using 301 Redirects allowing anybody who happens to stumble across an old link make it to the correct page / post. There is a plugin that can achieve this called Simple 301 Redirects. The authors of this plugin note:
It's especially handy when you migrate a site to WordPress and can't preserve your URL structure.
This is a fair case for 301 Redirects. However, with Search Engines this is beyond your control unfortunatly. You will need to resubmit your XML site map.

Can a user select their homepage theme on my Wordpress site?

I'm running a self-hosted Wordpress site, and I'm about to change the homepage layout from a blog to a more magazine-type format.
I know that some users will prefer to still see the old format, and I'd like to offer this as an option - for visitors to be able to select a second index.php (for instance index-blog.php) as their default homepage for the site.
I assume cookies would allow this, but if that's not possible, perhaps logged-in users would have that ability?
I can't seem to find a plugin that would help with this, so I'd really appreciate any tips - as well as advice on how having 'two' homepages might affect SEO.
Thanks in advance!
You can do this programmatically see this link. You should also create a child theme for your main theme see the codex for how to do that.

WP E-Commerce + Static Page Content = Wont Work Together

I am having a problem with permalinks to staic pages, and wp-e commerce.
I have 2 types of content:
1) Pages that are static and use unique templates, published as pages, organized into menus.
2) Posts that are generated by the wp e-commerce plugin, published as posts, organized via wp-ecommerce templates.
Here is the Series of events I am dealing with(I am starting to hate wp e-commerce)
Staic Pages give me a 404 Error
I disable WP E-Commerce
Static pages ALL display the same default homepage template
I update any static page content(just press the update button)
All static pages are showing now.
I make ANY change in the wp dashboard and we're back at step 1.
Can anyone make any sense of this?
According to the Wordpress Documentation,
If you've tried to navigate to a newly created Page and encounter an
error, you likely need to update your Permalink structure. Remember,
each time you add a new static Page to WordPress, new rules must be
generated and updated to .htaccess (WordPress 1.X) or to the internal
rewrites array (WordPress 2.X).
Please also note that it is not advised to start your permalinks with tags like %postname%, %category%, or other text-based tags as it can really decrease performance as you have more posts.
Unfortunately I could not find a way to do this and keep my url decent. I ended up just going with the regular permalink structure. It works, but is not ideal.
Thanks for everyone's input.

How do I place the blog portion of wordpress in a subdirectory, while keeping Pages at the root?

I'm new to Wordpress, and I'm using it as a general CMS for the first time. It's a simple site with a few pages, and also a blog. The blog has the same theme as the rest of the site.
In any case, I'd like the blog home page to be at /blog, and the Pages at /{page-slug}, and a Page is assigned to the root of the site. What's the best way to basically put a standard Wordpress blog home at /blog/? I'd prefer it if all blog stuff were based at /blog (e.g. "/blog/2009/10/%postname%", "/blog/categories/news", etc.), but it's not an absolute necessity.
Will I need to do multiple Wordpress installs to support this natively? What limitations might I run into?
Well, I'd written out the question when I found the answer, so I thought I'd finish it for posterity. The answer is here.
Permalink structure apparently doesn't affect Pages, which was my confusion. Wordpress will always put Pages at /{page_slug}/. If you want to move the whole site, including Pages to a subdirectory, you can use the Blog address (URL) field under Settings/General.
Hope this helps someone!
WordPress Codex: Creating a Static Front Page
WordPress allows you to make a 'front' page appear at / and shove your blog to a fake subdir, like /blog/ — Your other pages will still be at /your-page/

Resources