how to keep same url structure for our new magento website - magento2

how do we keep same URL structure for my new Magento 2 website ex if we have this URL https://www.papilior.com/jewellery/earring/diamond-earrings in our existing site.how do we keep same in a new store.

Related

How can I detect web pages completely?

A few months back I had changed the url structure of my webpages as follows:
Old : www.xyz.com/productname.php?id=XYZ
New : www.xyz.com/product/XYZ
But at the same time, the url structure of some of the other pages which are not associated with productname.php page has been created.
e.g. www.xyz.com/product/about-us.php has been created for page www.xyz.com/about-us.php and that new page sends the user to 404 error page.
Is there any way to get rid of this?
It depends on your architecture.
Is xyz.com a static website?
Are you using a webserver like nginx? If yes, you can easily add a redirection rule by referring to https://www.nginx.com/blog/creating-nginx-rewrite-rules/
If your website is being maintained by a third party, then the only way to fix this issue is to contact them.

Magento2 remove .html from parent category url

I am facing an issue in my Magento2 store, as my subcategory Url is loading as http://example.com/category.html/subcategory.html.Is there a way that i can change it to http://example.com/category/subcategory.html?

How to add a joomla form in frontend then add media to form data in backend?

I want to add a form in the front end of the
website .. then submitted data needed to display in the backend.. I want to add a media to every data that submitted. after that I want to publish selected form data with uploaded media in front end... how can I do.? Am new in Joomla
There are several form extensions check this link
http://extensions.joomla.org/extensions/extension?searchall=forms&filter%5Btags%5D%5B%5D=&filter%5Bcore_catid%5D=&filter%5Bincludes%5D=&filter%5Bversions%5D=&filter%5Btype%5D=&filter%5Bhasdemo%5D=&filter%5Bnewupdated%5D=&filter%5Bscore%5D=&dir=DESC&limitstart=&controller=filter&view=extension&layout=list&Itemid=145&clearorders=0&clearfilters=1
I picked up this extension for you
http://extensions.joomla.org/extensions/extension/contacts-and-feedback/forms/visforms
What you have to do is. Install a free extension. Create a form for the frontend. Remember not to give access to the upload field as you are going to upload the media. There is Visforms, Chronoforms etc that can solve your purpose. You can save to database, edit your form at backend, upload and do lots of stuff.

OLD Page name exists in URL : Adobe CQ5

I am using CQ5 for one of my projects. I recently had an interesting problem. We had following page in our siteadmin -
MY-PORTAL-NAME/en/example.html
The the corrosponding URL was
MY-PORTAL-NAME/en/example.html
In my siteadmin I changed the name of page example to mydata and following URL is working fine
MY-PORTAL-NAME/en/mydata.html
But the problem is the old URL MY-PORTAL-NAME/en/example.html still exists. How can we solve this ?
The page was moved only in the author instance . The page is intact in publish instance , usually when you move an activated page the application prompts for moving the page in publish too. To fix this you can log into publish and delete the page or move the page back to old URL , deactivate it and then move it back to the new URL.

Multiple stores in Magento 1.7. Not directing to new website

Multiple stores in Magento 1.7.
I am having issues setting this up.
I have set up via configuration two websites, store, store views etc and the url's in web config.
I have changed the A records on the domain to point to the magento website and I have as instructed changed index.php but when i type in my 2nd website address it just takes me to the main (original) website pages, if I change the default website in Magento it works! I can't be far off but I'm struggling now, any advice?
I've been told that in 1.7 I only need to alter index.php to make it work
Andrew
you must provide either store code or website code to server variable $_SERVER['MAGE_RUN_CODE'] or as first parameter to Mage::run() function in index.php file, for example if every subdomain of site has one store, you can accomplish this by:
$storeOrWebsiteCode = strtok($_SERVER['HTTP_HOST'],'.');
$_SERVER['MAGE_RUN_CODE'] = $storeOrWebsiteCode;
or
$storeOrWebsiteCode = strtok($_SERVER['HTTP_HOST'],'.');
Mage::run($storeOrWebsiteCode, 'website');
or
Mage::run($storeOrWebsiteCode, 'store');