0
votes
1answer
29 views

Apache files directive for single file

I'm trying to restrict access to the wp-login.php file of a wordpress installation to a single IP address using the following .htaccess directive: <Files wp-login.php> order deny,allow ...
0
votes
0answers
21 views

Custom rewrite rule - migationg to WordPress CMS

I am trying to move my image gallery site from one CMS to Wordpress. On current CMS I have page with medium size image on it with URL: ...
0
votes
1answer
47 views

Order that Apache handles .htaccess directives

I was working on a WordPress site yesterday, mostly in a Web Performance Optimization capacity (on shared hosting). At one point I noticed that my .htaccess file had redundant, possibly ...
0
votes
1answer
53 views

Need Corrected htaccess File

I'm attempting to use a wordpress plugin called WP Fast Cache which creates static html files from all your posts, pages and categories. It creates the following directory structure inside ...
0
votes
3answers
108 views

How do I redirect my website from non-www to WWW using Apache2? [closed]

I'm currently trying to set up my personal webpage. I am using a VPS and have manually installed Wordpress, and everything seems to work... except if I go to the non-www version of my website, it ...
1
vote
1answer
62 views

Add separate domain name to Wordpress admin area with htaccess

I have a Wordpress installation in a seperate folder on my server (meaning it is not in the root folder). Let's call that folder "folder A". I have a htaccess rewrite rule that maps Domain A to folder ...
0
votes
1answer
57 views

Nginx complete folder protection not working

I have installed nginx(1.4.3) with PHP-FPM(5.4.20). i want to protect my wordpress wp-admin folder. my nginx configuration file domain.conf: server { listen 80; server_name example.com; ...
0
votes
1answer
57 views

Prevent server beeing flooded with requests

I'm hosting a Wordpress-blog on an Apache server (shared hosting). For some reasons I've been receiving like 100 requests per second to xmlrpc.php for a few days. The access.log looks like this: ... ...
0
votes
1answer
70 views

Trouble configuring virtual host to allow standard wordpress mod_rewrite for permalinks

I'm having a little trouble getting the standard mod_rewrite that wordpress generates in my directorys .htaccess file to work correctly. The server I'm using has a virtual host set up on it by ...
0
votes
0answers
106 views

WP in subdirectory : redirect loop error due to htaccess?

I have a fresh Wordpress install in a subdirectory: /blog/ I visit my Wordpress site like this: http://www.example.com/blog and posts like this: http://www.example.com/blog/category/postname In ...
0
votes
0answers
92 views

Apache .htaccess security and wp-login.php

Lately we had a lot of requests to our wp-login.php on one of our wordpress installations. So after reading up a little, I decided to allow access only to the two static IPs we use in the office, ...
0
votes
0answers
28 views

Ignore a subdomain with .htaccess

In the root of my top domain i got a Wordpress multi site install. It's a testing server so i would like to add some repo in it to show/test my code. The problem is, when i add a repo in my / ...
0
votes
2answers
340 views

Enable Cross Origin Scripting on Nginx from retina.js to load files from another URL?

Im running a retina image plugin along with W3 Cache for CDN support. W3 cache moves images to S3, but the JS file won't server the files from there due to the difference in URL (it goes from h ...
0
votes
2answers
41 views

How to do live.mywebsite.com => mywebsite.com/live via .htaccess?

I need to do the following thing Mapping this subdomain live.mywebsite.com/something to mywebsite.com/live/something for examples : www.live.mywebsite.com/ ==> www.mywebsite.com/live/ ...
0
votes
3answers
99 views

wordpress in subdirectory apache2 without browse index and .htaccess

Sorry if this has been asked before but I looked through other posts and couldn't find my answer. Wordpress is up and running inside /var/www/wordpress/ However when I browse to www.mysite.com I get ...
2
votes
0answers
173 views

(WordPress) .htaccess redirecting actual subfolder location

I have WordPress setup in root, but I have a sub-folder that is not related to WordPress as well. I just moved servers, so before if I went to .com/admin/ I would get that subfolder. Now, I (and ...
0
votes
0answers
92 views

.htaccess and URL in query string

.htaccess rules are not taking effect when there is a query string containing another domain URL in the URL. I have main WordPress website installed in the domain root and a development website ...
0
votes
1answer
158 views

htaccess REQUEST_URI works for urls but not IP addresses in Wordpress default htaccess

I'm getting pretty confused my htaccess file. If I use the following directives: RewriteCond %{REQUEST_URI} distribute$ RewriteRule (.*) BalanceManager.php [L] Then I expect ...
0
votes
1answer
136 views

URL Redirection in Multisite wordpress

We have multi-site wordpress containing more then 50 blogs/sub-site. Our base URL to wordpress site is www.example.com/base-site/ and we have other sub-sites in it like ...
0
votes
2answers
284 views

After enabling ReWriteLog in .htacess, I failed to open my web site.

.htaccess worked well at first, then I added two lines to my .htacess to enable RewriteLog. The result is that I failed to open my web site. The two lines I added to my .htaccess are as follows: ...
-4
votes
3answers
278 views

.htaccess and PHP redirect hack on GoDaddy Website [duplicate]

Possible Duplicate: My server's been hacked EMERGENCY A friend is experiencing a random redirect to an RU domain for two of her websites, along with a malicious cookie attack, as per a ...
-1
votes
2answers
214 views

My Wordpress site being hack by modifying the .htaccess [duplicate]

Possible Duplicate: My server's been hacked EMERGENCY I'm going crazy right now and I don't know what to do. I've did a Google search about those hackers where they using .htaccess to ...
1
vote
1answer
34 views

Can this be achieved using only htaccess?

We are about to deploy a new internal website (new domain and all) and we would like to have existing user bookmarks still function. The catch is we have a bilingual website. The old domain: ...
1
vote
1answer
1k views

server-status not working if allowoverride is set to all

in my apache config i have following settings <Directory "/opt/website/new-website-old/httpdocs"> Options Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from ...
0
votes
1answer
197 views

Strange redirect loop issue

I'm getting a very odd redirect issue on my server. URL's without a trailing slash are being redirected to a URL with a trailing slash. The problem is that URL then redirects infinitely to itself. ...
1
vote
2answers
258 views

Links break in IE9 when using Wordpress plugins in non Wordpress Page

I have a site that uses SEF URLs and htaccess RewriteRules to serve up the pages. This has worked fine for several years until the arrival of IE9. Now it appears that the links are not being ...
0
votes
1answer
743 views

htaccess rewrite all URLs (inc image hrefs) from one domain to another

I've got a wordpress blog on a subdirectory which I've recently migrated from a .com to a .co.uk (myurlstudio.com/blog to myurl.co.uk/blog). The problem is that many of the posts have images in them, ...
2
votes
2answers
140 views

.htaccess 301 redirect PLUS url rewrite

Premise: My photography website is www.domain.com and my blog is on www.domain.com/blog. Everything is on self hosted wordpress platform. On my index page I have my photo galleries. I now would ...
1
vote
3answers
692 views

wordpress .htaccess file hacked

I'm stumped. My clients wordpress site keeps having its .htaccess file hacked. It's adding code to redirect all traffic from search engines to different sites. It keeps changing the domain it's ...
0
votes
1answer
73 views

Rewrite a Wordpress URL on .htaccess

I'm using this permalink structure on my wordpress site : mysitedotcom/2011/09/mypost and i'm using rewrite rule to visit another site on .htaccess, <IfModule mod_rewrite.c> RewriteEngine ...
4
votes
4answers
6k views

.htaccess file hacked, how to prevent this in future? [closed]

The hacker added a code in .htaccess file to redirect all search engine traffic to a malware website. I am now investigating this incident and trying to find out security loop holes. My situation is ...
9
votes
3answers
2k views

How do I obscure my Wordpress install via htaccess?

(I am aware that security via obscurity is not recommended). I am trying to hide the fact that I am using Wordpress. This post is helpful, but it only addresses the content (sort of). I am interested ...
1
vote
1answer
262 views

Wordpress htaccess redirect destroys my non-www to www redirect

In my root domain I have an .htaccess to redirect non-www to the www, and to redirect to a subdirectory (containing a temporary website). This is done using the following code: Options ...
2
votes
1answer
2k views

HTTPS for /wp-admin/ and HTTP for everything else?

I'm running a WordPress site on a shared Apache server on Dreamhost. I already have define('FORCE_SSL_ADMIN', true); set (and working) in my wp-config.php so that SSL is used for the /wp-admin/ ...
0
votes
1answer
481 views

Apache authentication inside a WordPress install

I am currently running into an issue with trying to password protect a directory that is sitting inside a directory that's running WordPress. This is for a directory called "admin" that handles a few ...
0
votes
1answer
55 views

.htaccess to rewrite migrated Wordpress site

I've moved my Wordpress from one domain to another, and I want the use .htaccess 301 redirects to redirect posts on the old domain to posts on the new domain. My webhost suggested I try the ...
0
votes
1answer
340 views

.htaccess - how to tell wordpress to ignore a directory

My wordpress website has seo friendly urls like http://mysite.com/mywebpage . I installed wordpress in my /var/www directory. However, on my server, I also have a directory called /var/www/mywebpage ...
0
votes
1answer
480 views

Stop Wordpress from hi-jacking CodeIgniter URLs using .htaccess

Wordpress installed at root web directory: /var/www/html/ CodeIgniter installed in a sub-directory: /var/www/html/ciapp/ When I access http://www.mysite.com/ciapp/ the main CI controller is ...
0
votes
3answers
803 views

CNAME redirect to Wordpress blog not working

I have two domains hosting in two different servers: domain1.com & domain2.com I would like to forward "blog.domain1.com" to "blog2.domain2.com" which is a Wordpress blog using CNAME redirect. ...
0
votes
1answer
592 views

Combining Two .htaccess files .. Wordpress and OSCommerce SEO URL's

I Googled over and over and got no where so I figured I would give this a try.. I have OSCommerce in my httpdocs directory. Then I have /wordpress but changed the blog location to /blog.php with some ...
1
vote
3answers
590 views

Blocking an IP range without using .htaccess

I have a WordPress blog that I am hosting using NearlyFreeSpeech.net. Recently, Russians found it and have been comment spamming me. I don't want to have to trash 30+ Cyrillic comments/day, and I ...
1
vote
1answer
106 views

passing URL vars to a wordpress page and pretty-fying it with .htaccess

I have wordpress installed in a directory called welcome, and /welcome/samples is a "page" (created via Wordpress). It's has a php template waiting for a $_REQUEST['category'] When a user goes to ...
0
votes
1answer
753 views

How can I SetEnv based on pre-rewritten URI or post-rewritten query parameter?

So there's a file in Wordpress, wp-content/blogs.php, that serves files uploaded through Wordpress. There's a rewrite rule in the WP .htaccess that rewrites URLs of the format ...
0
votes
1answer
1k views

Wordpress theme not displaying properly, problem with .htaccess?

I hope this is the right forum for my question. I installed WordPress on the free host x10hosting, and everything seems to work fine except when I try to install a custom theme. The theme is not ...