301 redirect of old joomla links to new WP install. really stuck
-
I have created a new website using WordPress. The original website was built using Joomla and was very messy. The Joomla install has now been deleted and the website is running fine on the wordpress install. There was not a lot of content on the original site (before creating the new site I used https://www.xml-sitemaps.com to create a site map) there is about 40.
What I would like to do is redirect some of those joomla urls to a relevant page on the new site as some of the search terms when typed into Google still list the old URL and when clicked still go to the current site but with an obvious 404.
I have done simple directs in htacess before e.g Redirect 301 /cat/bakeware/ceramic-bowls/pudding-basins/ /cat/bakeware/ceramic-bowls/ however this one has me stumped. I have tried the “online redirect generator” but no joy.
Here is an example of the current url https://www.website.com/index/?option=com_content&view=article&id=59:isis-bay-system-7&catid=23:gamma&Itemid=156
where I would like to redirect it to is https://www.website.com/products/safety-equipment/
Any help would be very much appreciated
Richard
my current htaccess looks like this
# 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>
# Browser CachingFileETag MTime Size
<IfModule expires_module>
ExpiresActive on
ExpiresDefault “access plus 1 week”
</IfModule># 1 Month for most static assets
<filesMatch “.(css|jpg|jpeg|png|gif|js|ico)$”>
Header set Cache-Control “max-age=2592000, public”
</filesMatch>
# END WordPress# Wordfence WAF
<IfModule mod_suphp.c>
suPHP_ConfigPath ‘/www/sites/310/f06/www.ndtelectronicservices.com/web’
</IfModule>
<Files “.user.ini”>
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
<IfModule !mod_authz_core.c>
Order deny,allow
Deny from all
</IfModule>
</Files># END Wordfence WAF
- The topic ‘301 redirect of old joomla links to new WP install. really stuck’ is closed to new replies.