<? DEW-CODE.COM  

Downloads

Assorted scripts  (1)
DewNewPHPLinks  (9)





Lost Password?
No account yet? Register

Dew-Code Newsfeed

Resources


 USdigitalcable.com

Dew-Code
Welcome, Guest
Please Login or Register.    Lost Password?
Re:Moving site ideas please (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Re:Moving site ideas please
#1615
Tim (User)
Junior Boarder
Posts: 30
graphgraph
User Offline Click here to see the profile of this user
Moving site ideas please 1 Year ago Karma: 0  
Hey
I'm trying to move motorsportlinks.co.uk into it's new home worldmotorsportlinks.com - I've copied the files, changed the config to read new url locations on the files and databases, but still getting

The page isn't redirecting properly

with the new location - any ideas?
thanks

the database is still the same place etc, it's just the url that has changed
 
Report to moderator   Logged Logged  
 
  The administrator has disabled public write access.
#1616
Tim (User)
Junior Boarder
Posts: 30
graphgraph
User Offline Click here to see the profile of this user
Re:Moving site ideas please 1 Year ago Karma: 0  
problem solved, missed the changes in the .htaccess file
 
Report to moderator   Logged Logged  
 
  The administrator has disabled public write access.
#1617
Dewed (Admin)
Admin
Posts: 605
graph
User Online Now Click here to see the profile of this user
Dew-Code.com
Re:Moving site ideas please 1 Year ago Karma: 9  
Glad to hear you got it sorted out
 
Report to moderator   Logged Logged  
 
Nothing to it but to Dew it !
Dew-Code.com
  The administrator has disabled public write access.
#1618
Tim (User)
Junior Boarder
Posts: 30
graphgraph
User Offline Click here to see the profile of this user
Re:Moving site ideas please 1 Year ago Karma: 0  
yeah completely forgot about the .htacess file..



ok small help for the future idea please

at the moment the links is on our route but if we wanted to move it to a directory - ie as it was designed to be how would we change this??

## Redirect non WWW to WWW replace "yourdomain" with
## your actual domain name
RewriteCond %{HTTP_HOST} ^worldmotorsportlinks\.com
RewriteRule (.*) http://www.worldmotorsportlinks.com/$1 [R=301,L]

thanks again for your top class help

Just thinking of changing our photography site and merging it into our main photography site
----
or do we just edit this??

Base Path:
Base Path for the phpLinks files on your server, no trailing slash please.

from the main config section on the admin
 
Report to moderator   Logged Logged  
 
Last Edit: 2011/04/23 12:21 By Tim.
 
  The administrator has disabled public write access.
#1619
Dewed (Admin)
Admin
Posts: 605
graph
User Online Now Click here to see the profile of this user
Dew-Code.com
Re:Moving site ideas please 1 Year ago Karma: 9  
The rewrite rule you mention isn't required at all, it is just a suggested way to enforce the use of "www" when visiting your site.

The SetHandler/AddHandler lines in the .htaccess file are required though, they tell Apache how to handle the "directory" file. (well, one of them does, the rest are commented out)

If you decide to move your installation, all you would need to do is change the BASE_PATH to /new_directory

if of course you moved it to a new directory that was actually named "new_directory" .. which would indeed be a bit silly
 
Report to moderator   Logged Logged  
 
Nothing to it but to Dew it !
Dew-Code.com
  The administrator has disabled public write access.
Go to top Post Reply
get the latest posts directly to your desktop
Outsource your projects to thousands of programmers at
ScriptLance.com
Newsflash
Interested in
advertising?

This space for rent!

Sign up for PayPal and start accepting credit card payments instantly.
Copyright Dew-Code 2008