Changing header for PHP website -


I am trying to create a website in PHP (I have no experience in it) what I did was an existing The website was used by someone who made it for me and just went about changing things in .php files.

I was in header.php:

  & lt; Base href = "http://old-domain.com/"; / & Gt; & Lt; Meta http-equiv = "content-type" content = "text / html; charset = ISO-885 9-1" /> & Lt; Link rel = "stylesheet" type = "text / css" href = "css / default.css? V = 4" /> & Lt; Link rel = "shortcut icon" href = "favicon.ico" />  

I changed 'old-domain' to 'new-domain'.

Now, my home page of 'new domain' looks okay. But all other pages, such as- newdomain.com/help or new-domain.com/about give me a 404.

On the other hand, when I return the 'new domain' to 'old-domain', it displays my old website properly, so I think this code is OK.

What am I doing wrong? Do I need to set elsewhere - new-domain.com/help etc?

Thank you.

Just check the link www.old-domain.com link in another file and call it www. Change to new-domain.com
I believe the project structure is the same.


Comments

Popular posts from this blog

ios - How do I use CFArrayRef in Swift? -

eclipse plugin - Run java code error: Workspace is closed -

c - Error on building source code in VC 6 -