To test the SEO on local, you need to have corresponding rewrites and rewrite engine turned on in
C:\IBM\HTTPServer\conf and check logs in C:\IBM\HTTPServer\conf. Also if you have multiple esites, it is important to get the virtual host for each esite and allowed host setting in wc-server.xml
<VirtualHost *:80>
RewriteEngine on
RewriteCond %{REQUEST_URI} !^/webapp.*$
RewriteCond %{REQUEST_URI} !^/wcsstore.*$
</VirtualHost>
<VirtualHost abcd.localhost.com:80>
RewriteEngine on
RewriteCond %{REQUEST_URI} !^/webapp.*$
RewriteCond %{REQUEST_URI} !^/wcsstore.*$
</VirtualHost>
C:\Windows\System32\drivers\etc
127.0.0.1 localhost abcd.localhost.com
Command prompt: C:\>ipconfig /flushdns
In wc-server.xml find this section and enable context root.
<SEOConfiguration defaultUrl="" dynamicUrl="true" enable="true">
<context-root-rewrite value="/" />
</SEOConfiguration>
C:\IBM\HTTPServer\conf and check logs in C:\IBM\HTTPServer\conf. Also if you have multiple esites, it is important to get the virtual host for each esite and allowed host setting in wc-server.xml
<VirtualHost *:80>
RewriteEngine on
RewriteCond %{REQUEST_URI} !^/webapp.*$
RewriteCond %{REQUEST_URI} !^/wcsstore.*$
<VirtualHost abcd.localhost.com:80>
RewriteEngine on
RewriteCond %{REQUEST_URI} !^/webapp.*$
RewriteCond %{REQUEST_URI} !^/wcsstore.*$
C:\Windows\System32\drivers\etc
127.0.0.1 localhost abcd.localhost.com
Command prompt: C:\>ipconfig /flushdns
In wc-server.xml find this section and enable context root.
<SEOConfiguration defaultUrl="" dynamicUrl="true" enable="true">
<context-root-rewrite value="/" />
</SEOConfiguration>

