Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Site Generator
-
Labels:None
Description
Adding redirect rule for non exisiting SEO & SEM pages for the following scenario
Steps to reproduce
1.Deploy a request with BFID and SAID(coverageareaID)
EX:
BPID:LITM1
BFID:1000000428
SAID:1097 (CoverageAreaID)
Town:Campbeltown (This locationID(175) is taken as PrimaryLocationID)
Status:PAUSED
Check the pages created in JBOSS
Inside Jail goto /var/www/sites/www.LITM1.com
Following files are created
sem-locksmithshighlandsislands.html
locksmithshighlandsislands.html
2.Add a new line item having different BFID and SAID and redeploy request with first line item Cancelled
EX:
BPID:LITM1
BFID:1000000428
SAID:1097 (CoverageAreaID)
Town:Campbeltown (This locationID(175) is taken as PrimaryLocationID)
Status:CANCELLED
BPID:LITM2
BFID:1000000003
SAID:733
Town:Reading
Status:PAUSED
Actual Behavior: After redeploy locksmithshighlandsislands.html and sem-locksmithshighlandsislands.html pages are get deleted and redirection rule is getting added for wrong or non-existing pages(primarylocationID)
Redirection ruled added after step2 in .htaccess file
redirect 301 /locksmithscampbeltown.html http://www.yell.com/rd/campbeltown/locksmiths-locksmiths.htm?bfid=1000000428&said=175
redirect 301 /sem-locksmithscampbeltown.html http://www.yell.com/rd/campbeltown/locksmiths-locksmiths.htm?bfid=1000000428&said=175
Expected behavior: redirection rule should be added to the page created for the sites. i.e,locksmithshighlandsislands.html and sem-locksmithshighlandsislands.html
NOTE: This is an existing behavior as working in production.