does redirecting a page divides a page's reputation for SEO

I have a form and I want to submit it to a url '/finalResult-{filteredSlug}'. But as the slug part is based on user input, I want to process this slug first and then finally go to '/finalResult-{filteredSlug}'.

So, to do that, what I can think of is, that I first submit it to a url '/finalResult-{slug}', edit the form input and then I redirect to my desired page, '/finalResult-{filteredSlug}'.

I want to do this because I want my URL to be SEO friendly(not just some abstract user input). So, from the perspective of SEO, will this divide the reputation of my desired page '/finalResult-{filteredSlug}' page between '/finalResult-{slug}' and '/finalResult-{filteredSlug}'?

Answers


I figured out a way. I used 'onsubmit' attribute of form to call a function. In that function, I filtered the input and then changed the 'action' attribute(in the function itself) using the filtered input.


Need Your Help

What is the best way to remove 'a', 'an' and 'the' from the start of a string in PHP?

php string character

I'm creating a way to filter a set of blog posts by the first letter of the title. The only trouble is that I, of course, want to remove 'A ', 'An ' and 'The ' from the beginning of the titles befo...