can you help me set up permalinking with ixwebhosting, I can’t figure it out . Support told me to put 404 page at ftp root, which i did, however when I try the permalinking it takes me to a file not found page.
yeah im sorry, I didnt kno where else to contact you,
my permalink stucture is this
/%year%/%monthnum%/%day%/%postname%/
and my 404 page is located in the root of my ftp, so like website is at http://www.trancefixation.com and the 404 file was set in the directory before it by ixwebhosting suooort.
Still if you are not able to get that, ask IXWebhosting support (24/7) to set the 404 page. At times, the server wont be refreshed with your custom 404 page.
thanks for your time and help. I’ve asked ixwebhosting suport to set teh 404 page for me, because in the control panel it doesnt not allow me to set urls. They still have not gotten back to me but I hopse things will get solved soon.
can you help me set up permalinking with ixwebhosting, I can’t figure it out
. Support told me to put 404 page at ftp root, which i did, however when I try the permalinking it takes me to a file not found page.
Danny, your comment irrelevant to this post.
However, I can help. Before that I need some basic info like,
your permalink structure and your 404 page.
yeah im sorry, I didnt kno where else to contact you,
my permalink stucture is this
/%year%/%monthnum%/%day%/%postname%/
and my 404 page is located in the root of my ftp, so like website is at http://www.trancefixation.com and the 404 file was set in the directory before it by ixwebhosting suooort.
my 404 page contains this code:
thanks for your help!
//
$qs = $_SERVER['QUERY_STRING'];
$_SERVER['REQUEST_URI'] = substr($qs, strpos($qs, ‘:80′)+3);
$_SERVER['PATH_INFO'] = $_SERVER['REQUEST_URI'];
include(‘index.php’);
//
Danny, Please do the following,
1. Create a 404 page with the following content.
< ?php
$qs = $_SERVER['QUERY_STRING'];
$pos = strrpos($qs, '://');
$pos = strpos($qs, '/', $pos + 4);
$_SERVER['REQUEST_URI'] = substr($qs, $pos);
$_SERVER['PATH_INFO'] = $_SERVER['REQUEST_URI'];
include('index.php');
?>
2. Rename that file as wp-404-handler.php
3. FTP this file to your domain root. In your case http://www.trancefixation.com root.
4. Open IXWebhosting control panel and go to Web Options for your domain.
5. Under “Settings” you will find “Error” column. “Add” a new a “404|Not Found” document with the following value
http://www.trancefixation.com\wp-404-handler.php
6. Save and exit. Your are done.
In order to verify just type some random url (www.yourdomain.com/notexits.html) to check whether you are seeing the 404 page or not.
For example, type http://www.trancefixation.com/notexists.html.
You will get your custom 404 page.
Still if you are not able to get that, ask IXWebhosting support (24/7) to set the 404 page. At times, the server wont be refreshed with your custom 404 page.
I hope this solves your issue.
Vijay
Vijay,
thanks for your time and help. I’ve asked ixwebhosting suport to set teh 404 page for me, because in the control panel it doesnt not allow me to set urls. They still have not gotten back to me but I hopse things will get solved soon.