Rewrite URL based on home_url

It looks like you want to redirect:

http://example.com/18/profile

to

http://example.com/seller?page=profile

If so, add the following to your .htaccess file in between the <IfModule mod_rewrite.c> tags that were created by WordPress:

RewriteCond %{HTTP_HOST}
RewriteRule ^18/profile/?$ seller?page=profile [R=301]

Your .htaccess should looks like the following if it hasn’t been modified by another plugin:

# 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]
# Custom Rewrite
RewriteCond %{HTTP_HOST}
RewriteRule ^18/profile/?$ seller?page=profile [R=301]
</IfModule>
# END WordPress