Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Forum How-To (http://forum.bytesforall.com/forumdisplay.php?f=9)
-   -   how to avoid broken links (http://forum.bytesforall.com/showthread.php?t=6198)

Dani808 Mar 7, 2010 04:58 PM

how to avoid broken links
 
I need some advice on how to set something up. I hope this doesn't sound to complicated.

I am converting an online website publication to wordpress. The old site needs to stay up while I am doing this so I can't use the main domain to create the wordpress site but I do want to use that main url when the site is done. I am trying to figure out the best way to do this keeping in mind I am importing about 16,000 articles from the old one via a file CSV and I am trying to avoid broken links. What is the best way to set up a wordpress site while keeping the old website up so that I don't have to go and make changes to the tables?

These seem to be my only options. 1-is using another domain (like the .net version of the main website) and then doing a 301 redirect on the main domain when I am ready to switch it over to the new site however the primary domain would be the .net and I would like to keep the primary the .com as it has been for years 2-Create an A-record like blog.mainurl.com . I can't remember what the next steps would be once I am ready to do the switch but from what I understand, there is something I can do where wordpress will automatically recognize the mainurl.com without the blog. in front of it and I wouldn't have to go and edit any config files or tables. Maybe even something in conjunction with permalinks? This has to be a common issue for those creating wordpress sites while keeping their old sites up. Can someone explain the process or options to me?

My main concern is broken links. There are all those stories out there for the last 10 years. I want to make sure that if someone has those saved somewhere that they will at least resolve to the main website if not the actual story. There is no way for me to add code to each page because there is too many. (or maybe there is a way to import into the html of all pages a 301 redirect?)

I am putting it on an unlimited hosting account with a dedicated IP. Wont that make anything someone tries to access with the main URL at least go to the main website even if the page doesn't exist,as if it were on a dedicated server? I would rather it go to the main website then nowhere.

Thanks!
dani

juggledad Mar 8, 2010 05:50 AM

Why not just swap where the com points once you are ready to go live?
If com is pointing to folder 'A' and net is pointing at folder 'B' , when you go live, on the host, change where teh domain points so com will point at 'B' and net will point at A

Dani808 Mar 8, 2010 01:11 PM

My concern though is if I create wordpress say under myurl.net and that is harcoded into wordpress then I change the DNS settings for myurl.com which was the main domain for the old site, there will be broken links unless I go into wordpress and change all the records to the .com. Do you see the issue? I can easily redirect everything to the new site, I am just worried about what will happen with all the links out there. There are over 16,000 articles over 10 years that have the .com as the url.

johanM Jul 27, 2010 07:50 PM

Do you mean you want to do something like this plugin does?

http://wordpress.org/extend/plugins/domain-change/

ferb82 Jul 28, 2010 03:36 AM

Quote:

Originally Posted by Dani808 (Post 27218)
I need some advice on how to set something up. I hope this doesn't sound to complicated.

I am converting an online website publication to wordpress. The old site needs to stay up while I am doing this so I can't use the main domain to create the wordpress site but I do want to use that main url when the site is done. I am trying to figure out the best way to do this keeping in mind I am importing about 16,000 articles from the old one via a file CSV and I am trying to avoid broken links. What is the best way to set up a wordpress site while keeping the old website up so that I don't have to go and make changes to the tables?

These seem to be my only options. 1-is using another domain (like the .net version of the main website) and then doing a 301 redirect on the main domain when I am ready to switch it over to the new site however the primary domain would be the .net and I would like to keep the primary the .com as it has been for years 2-Create an A-record like blog.mainurl.com . I can't remember what the next steps would be once I am ready to do the switch but from what I understand, there is something I can do where wordpress will automatically recognize the mainurl.com without the blog. in front of it and I wouldn't have to go and edit any config files or tables. Maybe even something in conjunction with permalinks? This has to be a common issue for those creating wordpress sites while keeping their old sites up. Can someone explain the process or options to me?

My main concern is broken links. There are all those stories out there for the last 10 years. I want to make sure that if someone has those saved somewhere that they will at least resolve to the main website if not the actual story. There is no way for me to add code to each page because there is too many. (or maybe there is a way to import into the html of all pages a 301 redirect?)

I am putting it on an unlimited hosting account with a dedicated IP. Wont that make anything someone tries to access with the main URL at least go to the main website even if the page doesn't exist,as if it were on a dedicated server? I would rather it go to the main website then nowhere.

Thanks!
dani

I have the same problem with you! I really need help!
____________

Johnny26 Aug 3, 2010 06:52 AM

Quote:

Originally Posted by johanM (Post 38472)
Do you mean you want to do something like this plugin does?

http://wordpress.org/extend/plugins/domain-change/


Thanks for this link been look on how to change domain name.


All times are GMT -6. The time now is 09:37 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.