I am developing a plugin, that has a list shortcode that also has an option to filter list items within a category. I want to make a clean SEO URL no mater where the shortcode is put by the user. e.g. example.com/{$page-title}/{$items-category}
instead of example.com/{$page-title}/?category_id=15
, how can I achieve this without creating custom post types? Or perhaps someone can advise a better solution to do this?
Thanks
]]>We installed Nextgen gallery and it all works fine. But there is an issue with the plugin as it is not allowing our CDN to rewrite secure URLs for the images and files it controls.
Anyone knows how this can be resolved?
]]>In my .htaccess this code:
1.
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
and and at the beginning of the file this code:
2.
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)/$ /$1 [L,R] # <- for test, for prod use [L,R=301]
I successfully redirect urls from www to pages without www
I successfully redirect urls from slash to pages without slash
But redirection of pages from index.php occurs first on URLs with a slash, and then on URLs without a slash.
How can I fix the last point?
]]>I would like to know how I can translate slug1, for the moment it is not possible.
cordially
Is it possible to make this plugin compatible with Polylang? The problem is that Polylang is catching url rewrite before other things and DSCP is not working. I tried on my own to register with pll_rewrite_rules but failed Any help appreciated, I am willing to pay for this feature in Polylang.
]]>Now I want to switch my site to https, and I’m trying to re-write the URLs so that
https://assets.example.com/wp-content/uploads/image.jpg
changes to:
https://s3.amazonaws.com/assets.example.com/wp-content/uploads/image.jpg
which is the same file served securely.
I’ve tried putting the following in htaccess, just after RewriteEngine On
RewriteCond %{HTTP_HOST} ^assets.example.com$ [NC]
RewriteRule ^(.*)$ https://s3.amazonaws.com/assets.example.com/%{REQUEST_URI} [R=301,NC,L,QSA]
but it doesn’t work. Have I made a mistake or am I trying something impossible?
Sorry if this is seen as off-topic, but there must be many other users of this plugin in a similar situation to me.
]]>How can I change the rest?
Ted
]]>i have a Server. On this server there is a User “modseven”. His “public_html” can opened with:
https://62.75.242.201/~modseven/
There is WordPress!
I also have a Domain www.modseven.net and can either redirect or
make it as a proxy to my wordpress.
But what I want to do is:
That https://62.75.242.201/~modseven/ will be overwritten with www.modseven.net
I don’t want the poeple see the ip adress.
I just want to have it this way:
https://www.modseven.net and if you open a certain page then like this:
https://www.modseven.net/?p=123
May somebody help me?
]]>with same content I have used the below function in Function.php
But no luck,
function custom_rewrite_rule()
{
add_rewrite_rule(‘^([^/]*)/([0-9]*)/’,’index.php?year=$matches[2]&category_name=$matches[1]’,’top’ );
}
add_action(‘init’, ‘custom_rewrite_rule’, 10, 0);
Can Anyone, ? Help me please!!!!!
]]>