0
votes
0answers
11 views

Wordpress permalinks on subfolder in iis7 not working

I have IIS 7.5. mod rewrite active. Currently, my wp site is inside subfolder. Here is web.config in my root folder : <rewrite> <rules> <rule name="site2.com" stopProcessing="true"> ...
0
votes
1answer
32 views

Nginx and Wordpress: Add php after postname

I'm doing a migration from Apache to Nginx of some Wordpress sites. Now I'm dealing with the URL rewriting, because one of the blogs has the following URL structure: %postname%.php And I'm using ...
0
votes
1answer
181 views

rewrite rule nginx to add trailing slash with wordpress and exclude files with extension

I have one installation with wordpress running on nginx with php-fpm. I want to redirect all uris without final slash / to a same uri with /, and i want to exclude all files with extensions. I have ...
0
votes
0answers
36 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
275 views

Nginx Rewrite with a question mark

I am trying to force Nginx to redirect/rewrite one URL that uses a query string /?cat=20 to /category/lighttpd/. Here is what I tried, which is not working: location ~ /\?cat=20 { rewrite ^ ...
0
votes
1answer
123 views

Nginx Config File Regex Issue

I am trying to convert the following rewrite rule into a 'try_files': location ~* \.(css|js) { if (!-f $request_filename) { rewrite ^/wp-content/w3tc/min/(.+\.(css|js))$ ...
1
vote
0answers
87 views

mediawiki and wordpress MU different root with Nginx

i want to use wordpress MU with mediawiki on the same domain , but i'm using a kind of mediawiki hosting service called wikifamily. so i have to different script root : /var/www/wikifamly for ...
1
vote
1answer
114 views

Nginx and Wordpress permalinks are broken if blog is not in root

So I have installed nginx and Wordpress on my server. However, my blog is not in domain root. (e.g. example.com/blog and contents are in /var/www/example.com/blog) I am using settings below in nginx ...
2
votes
2answers
105 views

iis7 rewritebase for portions of website (wordpress)

We are slowly converting our existing website to a wordpress platform. I currently have 3 directories set up in a subdirectory but these need to look like they are in the site root. Example: the old ...
0
votes
1answer
51 views

Cherokee/WordPress links to media files are WRONG

I have a problem with WordPress links to media files. It is currently pointing to (which is wrong/won't work/nothing loads): http://mydomain.com/files/2012/10/image_4-1.png The correct URL is to ...
1
vote
1answer
372 views

Using Virtual Domains with WordPress and Cherokee Web Server

I'm trying to configure WordPress to work with Cherokee Web Server. The multi-site set up in WordPress is yyy.com and uses 'sub-domains'. Thus, I have sites like aaa.yyy.com, bbb.yyy.com - they all ...
0
votes
2answers
80 views

Migration from DotClear: rewrite urls of feeds

I've migrated my blog from DotClear2 to WP3. I would like to add some URL rewriting on my NGinx configuration file, so that people who were following my blog using the RSS can still do the same ...
2
votes
1answer
173 views

How to create rewrites after migrating from wordpress to another blog

I've migrated my blog from wordpress to Octopress, and from one domain to another. I want to create rewrites from old pages to new ones (old structure is http://domain.old/?p=number). I've created ...
-1
votes
1answer
259 views

Combine WordPress and Subdomain rewrite rules for the server 'Zeus' [closed]

Currently, i have working with a Zeus server and we have a website which is developed using Wordpress. Zeus Sever don't support the .htaccess file which is required to install wordpress and also for ...
2
votes
1answer
496 views

Configuring WordPress rewrite rules on IIS7.5 inside virtual application

I have to configure WordPress into a virtual application under a principal website running on ASP.NET 2.0 Classic mode. Everything is working fine, PHP 5.3.13 / MySQL 5.1 / IIS 7.5, the wordpress ...
2
votes
3answers
386 views

Restrict the use of SSL to only one directory in Apache

I have a SSL certificate installed and running well with Apache 2.2.14. Now, I want to restrict the use of https to just one directory, namely www.example.com/shop. If a user goes to ...
1
vote
1answer
186 views

nginx wordpress rewrite rule conflicted with stub_status module

i'm got a problem when i was trying to enable stub_status module on my wordpress based site. the following is my configuration in nginx.conf. location /status { stub_status on; access_log off; } if ...
1
vote
2answers
262 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
839 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
145 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 ...
0
votes
4answers
360 views

nginx rewrite specific sub domains

I am trying to rerwrite any sub domains outside of an approved list i.e. (dev,test,home).domain.com here is what I am working with now: #rewrite all sub domains if ($host ~* ...
0
votes
1answer
195 views

nginx /admin /login wordpress

I want to setup simpler urls in nginx to login into wordpress i.e. /admin /login in nginx I have tried multiple ways of tackling this with no luck. any ideas? currently working with this, but I know ...
0
votes
1answer
78 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 ...
0
votes
2answers
438 views

URL rewriting for WordPress Network (Multisite) subsite

We have an install of WordPress Network (Multisite) that has multiple blogs running under the url blogs.exampleurl.com where each subsite is blogs.exampleurl.com/site1 /site2 etc... We have a user ...
4
votes
1answer
606 views

IIS7 and URLRewrite is failing with Wordpress 3.1.1 Redirects

I'm having an interesting issue with the migration to wordpress 3.1.1 multisite and the url rewrite rules. the index.php routing, as well as the ms-files.php?file= rules are failing across the board. ...
0
votes
1answer
704 views

Changing Wordpress permalinks under Nginx: rewrite rule to avoid Google's punishment?

I have a site with a WordPress blog which has the usual permalink structure: /%postname%/ But I'd like to include the date in the permalink: /%year%/%monthnum%/%day%/%postname%/ So a post like ...
-1
votes
2answers
3k views

nginx 301 redirect to subfolder on primary domain

I just set up Wordpress on my VPS, so far it's the only item on my site. For SEO purposes, I think it's better to redirect the primary domain to the blog folder. So let's say the primary domain is ...
0
votes
1answer
1k views

Why isn't this rewrite rule (nginx) applied? (trying to setup Wordpress multisite)

I'm trying to setup Wordpress multisite (subfolder structure) with nginx, but having a problem with this rewrite rule. Below is the Apache's .htaccess, which I have to translate into nginx ...
0
votes
2answers
1k views

How to allow wordpress to write web.config on IIS 7 for pretty url

It is possible to get pretty url with IIS 7 by hand http://learn.iis.net/page.aspx/466/enabling-pretty-permalinks-in-wordpress/ but wordpress can also do it automatically if it has the right ...
0
votes
1answer
700 views

Nginx Rewrite to Previous Directory

I am trying to move my blog from blog.example.com to example.com/blog to do this I would rather not move anything on disk, so instead i changed my nginx configuration file to the following: location ...
1
vote
1answer
162 views

(Invisibly) Rewriting from folder to subdomain

A site currently exists at www.foo.com. I need to setup a (wordpress) blog at www.foo.com/blog, but on a separate server (with a domain something like blog.bar.com). The site visitors should only ...
0
votes
1answer
769 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 ...