Jump to content

evonet123

New Members
  • Posts

    2
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

evonet123's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I have a website hosted on Fasthosts Linux servers. I am new to using .htaccess to do url rewrites and have been getting a recurring problem that is intimitent. The problem is that now and then the images do not load, or the style sheet doesnt load, or the whole page doesnt load giving a 404 error (This applies to any page on the server). I am not 100% sure if this is due to the .htaccess file or FASTHOSTS servers, because we have never had any issues with their windows servers. We previously had this issue with another website on one of their linux servers (which i just checked and its the same server) which had more rewrite rules than this project. FASTHOSTS cant work out why its happening and we are stuck in a rut. The htaccess files content is just the following: RewriteEngine On RewriteRule ^([a-zA-Z0-9_-]+)$ profile.php?id=$1 [NC] The rule above simply allows people to view others profile by typing /username after the web address. Example: http://www.muslimmarryme.com/azad If you go to the site and browse around you may come across the problem. If anyone can shed some light on this it would be very helpful.
  2. I need to be able to have one master website, my agents should be able to have masked version of the same website branded to their liking. If i have mywebsite.com my agents have tHe following websites: getlucky.com bagntag.com ifeellucky.com If anyone types in the above agent URLs into a browser it needs to show mywebsite.com but with certain sections being branded. i.e. the banner/logo, footer info etc (This will be done with mysql) Any internal link needs to point to and show (in status bar) the URL typed in the address bar and NOT the actual mywebsite.com URL My agents customers should not know they are actually on mywebsite.com I have found that URL Frame Forwarding is a possible option, however several issues come into play: Because it is a frame any PHP coding used to try and read the URL address bar seems to be mywebsite.com and not the actual URL typed in. 1. Is there a way to jump out the frame and read whats actually in the URL bar using php or js? 2. Frames pose problems for search engines? Another option is aliasing, however my agents wont be able to get any emails as they will be alias's of mywebsite.com So if one agent wanted sales@getlucky.com another agent such as bagnetag.com cant have sales@bagntag.com, because it is a duplicate of sales@mywebsite.com We are hoping to use a dedicated server with Linux. Any further ideas or help would be very much appreciated.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.