how to redirect wp past site without wordpress pages - wordpress

Client no longer wants Wordpress and wants new site in HTML5 CSS3. I have the past site map with links to past pages. Seeing he no longer has Wordpress how do you redirect the old wordpress pages without wordpress to new html pages. His links to old site are still active but goes no where seeing the pages are no longer on the server and have been down for two weeks. Small site 4 pages. Thanks Tim

Since you are using WordPress, I am guessing that this is hosted on a Linux server. If so, you are able to create 301 redirects using the .htaccess file.
Here is an example
Old page: http://www.example.com/contact-us
Going to new page: http://www.example.com/contact.html
RedirectMatch 301 ^/contact-us/?$ http://www.example.com/contact.html

Related

Cache keeps making users go to my old web url

My home page used to be www.example.com/index.html, because I was on the Weebly platform. I then switched to Wordpress, where the home page should simply be www.example.com/home.
However, I realized if I visit the URL on a browser where cache hasn't been cleared for the past 24 hours, the website automatically redirects the user to www.example.com/index.html. Is there a way to fix this? I've Googled ways for about 2 hours and tried various Wordpress plugins...
Create a redirect in your wordpress site from /home.html to /home
Just delete old index.html and add this to your .htaccess file in root
RewriteEngine On
Redirect 301 /index.html http://www.example.com/home

How can I redirect a page that does not exist anymore?

We recently moved our website to WordPress. The old site was built in plain old html. We are no longer hosting the pages ending in .htm but there are still links to them that exist on the web and it's returning 404 errors. I want to direct the old pages that ended in .htm to the new page that is now living in WordPress. I have tried a handful of SEO redirect plugins in WordPress which none have seemed to work. How would I go about doing this if the page no longer exists on the server?
You can solve this with mod_rewrite.

I have a mess in my head regarding redirect 301,mails and moving to a new website

I'm new to the web world and i have a great mess in my head.
i got a project to build a website for a company and i did.
now this website was built with some cms and i built it with Wordpress.
So now i have to take care that some of the SEO meta tags will not ruin when moving to the new website, i used YOAST SEO plugin to do so.
Now my boss is keeping on asking about redirect 301 which i don't understand why do i need to use it?
if we dont transfer any campaigns and only moving to a new website why do i need it?
another problem is the mails on the domain.
the company has like 5 mails on the domain adress and the domain is sitting on the old company they used to work with,which are not cooperative.
how do i transfer the mails from their servers to a new one?
Thanks a lot.
The 301 redirects are for the newly created Url's.
Because every site has their own way or wwriting url's you need to make sure that you carry across the links to the old urls to the new url structure of the wordpress site.
Example
sitename.com/about_us.html is now sitename.com/about-us/ you will then need to redirect the old about_us url to the new one.
This ensures that any old indexed or shared pages don't server a page not found error.
Very important and can be done using the HTACCESS file or a redirect plugin.

Drupal URLs migrated to new WordPress installation

We have an existing Drupal site. That is going to be replaced with a WordPress site on the existing URL. However, there has been a lot of SEO done on the drupal URLs so a google search will return those old URL's. We want to redirect to the new corresponding URL in the Wordpress site. However, since the drupal site is no longer live on the existing domain, the old URL's will just return 404 and cannot be redirected since they are not relative to the WordPress root. Is there a way to do this? Do I need to get those old drupal site URLs into WordPress somehow?
First of all you need to update your sitemap and add canonical's for permanent redirections. This wont directly redirect the page, but will let the search engines know that the url for the page has been changed and hence will avoid loosing your search engine rankings.
Then for actually redirecting the page you will need to update your htaccess
Redirect 301 /folder/oldpage http://www.example.org/newpage
If there are lots of pages you should consider using a wordpress plugin called redirection. This way you dont have to update the htaccess manually, and it will also keep logs of all the 404 pages that users have found, so you can also keep an eye on logs for any missing pages and redirect them accordingly.

Issues with redirect from .html pages to wordpress pages

here is my issue:
I have a static html site and under blog I have wordpress installed. Now I added a new database and installed a second wordpress that works perfectly, but I want to 301 redirect old .html pages to new ones so I can keep the links and rankings, but every time I try to change the .htaccess file my wordpress totally crashes and I have to re-install.
I just want to redirect dozen .html pages to new wp versions, example, I want to redirect www.site.com/page.html to www.site.com/page/
Can someone point me in the right direction?
Thanks
The easiest way to do this, is to use the redirection plugin for wordpress.
We used it when we converted an old static site and it works well and tracks the number of hit's etc.
http://wordpress.org/extend/plugins/redirection/

Resources