Mod rewrite problem or dns problem?

bowie6228662771

New Member
Messages
4
Reaction score
0
Points
0
I have installed phpwcms on my free hosting account. When I tried to use the script default navigation tag function for all navigation links, the links redirect to x10 hosting 404 page by default.

The script looks like: $_SERVER(DOCUMENT_ROOT.'/PATH/FILE.*');

The link should be appear as: mydomain/path/file.*
But redirect to: x10hostingserver/?samequerycode=404page

Is this related to mod rewrite off or dns problem?
I checked out the script config is correct, I found no where I could fix this issue?
I am stuck here and cannot work on the site further, please help!
My website: http://www.wsproperties.x10.bz/
 

bowie6228662771

New Member
Messages
4
Reaction score
0
Points
0
Thanks Descalzo for pointing the web link issue!
I think I never register the subdomain or and dns service with the single rather than pural word!
I have checked the config file and every hard coded link, all that points to wsproperties.x10.bz!
Except the system navigation links are auto-generated by the $_SERVER['DOCUMENT_ROOT'] is used for path related.
I had no idea why it come up with wsproperty.x10.bz?
Please help!
 
Last edited:

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
Looking at the source for the page, it has

HTML:
<base href="http://www.wsproperty.x10.bz" />

in the head section. Since the links at the bottom of the page are relative, that is causing the problem.

The problem is in the configuration of your script. Ask the ones who wrote it where the configuration setting that causes the above is located.
 

bowie6228662771

New Member
Messages
4
Reaction score
0
Points
0
Thank you so much for your detailed information and caring for your member!
I tried, it works!:):):):):)
You are brilliant!
 
Top