Browsing Category

Wordpress mod-rewrite

CakePHP rewriting to WordPress in Subfolder

I have CakePHP 2.4 installed in my webroot, and wordpress installed in: vendors/php/wordpress. I am now trying to perform a ModRewrite such that requests to

WordPress redirect loses parameters

The issue: I’m using (what I think is) a fairly standard multisite WordPress setup, which is using qTranslate for internationalisation. I have a menu that

.htaccess confiict wordpress and subfolder

we have 2 cms (wordpress) and (whmcs) . wordpress on the root … whmcs on the subdomain (folder in the root with care name ).

What Is the Index File of my URL’s subdirectory

I’ve got a site I’m working on in WPEngine. The site is WordPress but I have a subdirectory with a landing page. The URL is

mod_rewrite for multilingual website

I have the problem that my main-language page is on example.com and the second language shell be reached at example.com/it/ And if the user tries

WordPress returns a 404 when non-default permalinks are used

I have a WordPress installation and I would like to configure permalinks with the post name rather than the default ?p=xx syntax. But I just

WordPress WP Rewrite Rules for Page redirects but changes the URL in browser

I have create a new rewrite rule for my wordpress website by putting the following code in functions.php // Register a new var function rc_add_query_vars(

URL Mod Rewrite with Region,Country and City

I’m trying to make a Rewrite rule that will do the following: http://www.domain.com/index.php?region=europe rewrite like: http://www.domain.com/europe http://www.domain.com/index.php?region=europe&country=france rewrite like: http://www.domain.com/europe/france http://www.domain.com/index.php?region=europe&country=france&city=paris rewrite like: http://www.domain.com/europe/france/paris I

redirect tralling slash to no extension

my htaccess file is: RewriteEngine on RewriteBase / RewriteCond %{HTTP_HOST} ^www.mydomain.com$ RewriteRule ^/?$ “http://mydomain.com/” [R=301,L] RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^([^.]+)$ $1.php [NC,L] now it works

Redirect in .htaccess if file exists (cache)

I do not understand anything .htaccess and I need a redirection to cache. Currently use the following rule: RewriteRule ^movie/(.*)/(.*)/(.*)$ app.php?view=movie&theatre=$1&ordem=$2&movie=$3 [L,QSA] That is, the

Complex framework structure for Apache

I’m trying to create mod_rewrite rules for a modular aplication in PHP. I know how to work things out from PHP but I want to

Back to Top 145132 wordpress questions, 32 Wordpress answers.
Wordpress related, All rights reserved
Powered by Creative Advertising