These forums are now archived.


Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 7 posts ] 
Author Message
 Post subject: redirect
PostPosted: Tue Mar 03, 2015 10:18 pm 
Offline
NetHosted Customer
User avatar

Joined: Sat Jul 28, 2012 7:06 pm
Posts: 60
Location: Yorkshire
hi.

I need to redirect a subdomain ( store.barnevelders.net ) back to the new updated store on the main domain in the online_store folder.

I know i can use the redirect in Cpanel but that seems a bit of a blunt instrument as it just redirects everything to the new homepage.

Is there an easy way to 301 using htaccess


Top
 Profile  
Reply with quote  
 Post subject: Re: redirect
PostPosted: Tue Mar 03, 2015 10:23 pm 
Offline
NetHosted Staff
User avatar

Joined: Mon Jan 06, 2014 10:56 am
Posts: 168
Hi,

Can you confirm what URL needs to redirect to what?

store.barnevelders.net to barnevelders.net/online_store/ ?

If not you can always edit the folder store.barnevelders.net accesses from store/ to online_store/. To do this simply go to the sub-domains section in cPanel and there is an icon next to public_html/store/ with a little pencil if you click on that you can edit the path.

Hope this helps!

Regards,

Jack

_________________
| Jack Waplington
| Sales & Support Technician, NetHosted Ltd.
| Earn £30 every time you refer someone to us!
| Follow us on Twitter:
| Members, tell us what of NetHosted!


Top
 Profile  
Reply with quote  
 Post subject: Re: redirect
PostPosted: Tue Mar 03, 2015 10:27 pm 
Offline
NetHosted Customer
User avatar

Joined: Sat Jul 28, 2012 7:06 pm
Posts: 60
Location: Yorkshire
I was thinking of redirecting each url with something like this

Redirect /olddirectory/oldfile.html http://example.com/newdirectory/newfile.html .

so :
http://www.store.barnevelders.net/?q=co ... ching-eggs

would reditect to:

http://www.barnevelders.net/online_stor ... ching-eggs


Top
 Profile  
Reply with quote  
 Post subject: Re: redirect
PostPosted: Tue Mar 03, 2015 10:30 pm 
Offline
NetHosted Customer
User avatar

Joined: Sat Jul 28, 2012 7:06 pm
Posts: 60
Location: Yorkshire
I have worked out how to add them 1 at a time from the cpanel.


Top
 Profile  
Reply with quote  
 Post subject: Re: redirect
PostPosted: Tue Mar 03, 2015 10:31 pm 
Offline
NetHosted Staff
User avatar

Joined: Mon Jan 06, 2014 10:56 am
Posts: 168
Hi,

I can't really think of any true efficient way to do this as you could 301 permanent redirect but you would have to do that with every URL you wished to forward. (Presumably what you have just started doing in cPanel?)

I would personally think it would look better if the URL remained store.domain rather than /online_store/

Regards,

Jack

_________________
| Jack Waplington
| Sales & Support Technician, NetHosted Ltd.
| Earn £30 every time you refer someone to us!
| Follow us on Twitter:
| Members, tell us what of NetHosted!


Top
 Profile  
Reply with quote  
 Post subject: Re: redirect
PostPosted: Tue Mar 03, 2015 10:40 pm 
Offline
NetHosted Customer
User avatar

Joined: Sat Jul 28, 2012 7:06 pm
Posts: 60
Location: Yorkshire
I only need to redirect 10 or so url's so it won't be to time consuming.

"I would personally think it would look better if the URL remained store.domain rather than /online_store/"

Is that just your preference on the url ? ,

I wanted to bring the store back into the main domain to simplify the admin a bit. It should also help it rank a bit as it won't be splitting the Pagerank etc over two domains


Top
 Profile  
Reply with quote  
 Post subject: Re: redirect
PostPosted: Tue Mar 03, 2015 10:42 pm 
Offline
NetHosted Staff
User avatar

Joined: Mon Jan 06, 2014 10:56 am
Posts: 168
Hi,

Yes, that's just my personal preference.

But it could be worse SEO wise (store.domain.com), I'm no expert on SEO so I couldn't really comment on that side of it.

Kind Regards,

Jack

_________________
| Jack Waplington
| Sales & Support Technician, NetHosted Ltd.
| Earn £30 every time you refer someone to us!
| Follow us on Twitter:
| Members, tell us what of NetHosted!


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 7 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 21 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: