ALL products are redirecting to 404 error in magento 2.0 - magento2

When I click on products in home page of my website, it is redirecting to some error page i.e u have typed wrong url. I am using magento 2.0. I am getting same error for all products. How to resolve it?????
but all products are displayed in categories as well as home page

Please follow the following step to solve this problem.
step 1:- Please login and open a category.
Step 2:- Please assign a product.
step 3:- Then save that category.
Now all product will be working fine.

Related

While publishing page we are getting this error in AEM :: failed to retrieve references for the selected page in aem

We have 3 pages checkout, review-order and order-confirmation page. When we quick publish checkout and review-order page, publishing is happening but when we are doing quick publish for order-confirmation page we are getting below error.
ERROR : failed to retrieve references for the selected page in aem
Note:
Quick publish is not working for order-confirmation page.
Using Manage publication we are able to publish order-confirmation page.
can some one help me to understand why this Quick publish is giving an error but Manage Publication is working fine.
I have removed all the component from the page and try to publish.
I have added jcr:lastModified and jcr:lasModifiedBy under jcr:content of order-confirmation page
One More underline point is that If cq:lastReplicationAction is present, then cq:lastReplicated (date value) is must in 6.5 of any JCR node property of that page while publishing from author to live 

Add Facebook tab for page for angular2 site

I want to add tab in my business page for angular2 site. For that I follow that steps :-
https://blog.hubspot.com/blog/tabid/6307/bid/26330/how-to-create-custom-tabs-for-facebook-business-pages.aspx
when I click on that particular tab its showing "can not Post error message" and when I try to hit this link :-
http://www.facebook.com/dialog/pagetab?app_id=12345678901234&next=https://www.aaa.com/#!/home
its remove home from this link and create that new link :-
https://www.aaa.com/#= and this link is not valid for my site.
Please tell me what I can do for angular2 site
its remove home from this link and create that new link :- https://www.aaa.com/#= and this link is not valid for my site.
You did not properly URL-encode the value - so the #!/home part belongs to the “outer” URL.
&next=https%3A%2F%2Fwww.aaa.com%2F%23%21%2Fhome
is what your URL to call the Page Tab add dialog should end with.

Fishpig magento2 Integration with wordpress

I want to show the wordpress posts on the magento2 page . SO I have enabled the fishpig wordpress integration extension .
And call/added the block code in the magento page content.
{{block class="FishPig\WordPress\Block\Post\ListPost" name="wp.post.list" template="post/list.phtml"}}
So it gives the setConnection() exception errors
Points :
I have used the different databases for word press and magneto.
How to integrate fish pig code get the posts from the word press database ?
Is i need to add the word press database in the any magneto 2 file ?
Please help me how to possible that ?
enter image description here
How Can i show the post detail page on click READ More button of the posts on the magento site ?
Now it is redirect to wordpress site (post detail page ) .
My Site installation directory is /news .
Site URL is : www.example.com/news
Home URL is : www.example.com/latest-news
Magento wordpress configuration showing this error
Your home URL (https://www.example.com/latest-news) is invalid.
This URL (www.example.com/latest-news) showing the list of posts but issue is post detail page redirect to 404 page .
You need to upgrade the extension to the latest version as this bug has now been fixed.

magento: products not showing up on the frontend : no code

I'm still new to learning Magento. I only followed a tutorial but it's not working. I added a new product and associated it to all categories just as a test. The tutorial would show the image of the product once he clicks on a subcategory but mine didn't.
It gives me this error:
The requested URL /magento/sample-sub-cat-1-tutorials/sample-sub-category-2.html was not found on this server.
What is wrong? I'm doing everything in the admin panel without coding as a start.
That is an error page returned by your web server software, not a Magento-handled 404 page. Try adding index.php before your url string i.e. site.com/index.php/magento/sample-sub-cat-1-tutorials/sample-sub-category-2.html; if that works, you need to check server rewrites (System > Configuration > Web > Search Engines Optimization) or check that rewriting is available for your web server software.

Page requested not found

I recently created a new app and added it to an existing page using the following:
http://facebook.com/add.php?api_key=APP_ID&pages=1&page=PAGE_ID
Now randomly when i am logged in and go to my page i get the following error:
The page you requested was not found.
You may have clicked an expired link or mistyped the address. Some web addresses are case sensitive.
Has anyone else found the same issue?
I have been reading some posts and i think it might have to do with the way the app was added to my page. Not entirely sure though.
HELP :)
I don't think it's connected to how you added it but here is another option to add app to page:
https://www.facebook.com/dialog/pagetab?app_id=YOUR_APP_ID&display=popup&next=YOUR_URL
Change YOUR_URL with the url in app settings Page Tab URL.